summaryrefslogtreecommitdiffstats
path: root/2configs/home/ham/automation/urlaub.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-01-30 23:51:32 +0100
committermakefu <github@syntax-fehler.de>2022-01-30 23:51:32 +0100
commita312677a5822216459fcf7d7b17bbd4c84b51266 (patch)
treec5977340db496cb6ff866a8e229debf1bd6be4f0 /2configs/home/ham/automation/urlaub.nix
parent509ff10d8512f02540b23fb0dd617ea46032b833 (diff)
ma ham: commit open changes
Diffstat (limited to '2configs/home/ham/automation/urlaub.nix')
-rw-r--r--2configs/home/ham/automation/urlaub.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/2configs/home/ham/automation/urlaub.nix b/2configs/home/ham/automation/urlaub.nix
index a6b9be96f..50294514c 100644
--- a/2configs/home/ham/automation/urlaub.nix
+++ b/2configs/home/ham/automation/urlaub.nix
@@ -5,8 +5,9 @@
let
schranklicht = "light.wohnzimmer_schrank_osram";
- fernsehlicht = "light.wohnzimmer_fernseher_led_strip";
- final_off = "01:00";
+ weihnachtslicht = "light.wohnzimmer_fenster_lichterkette_licht";
+ fernsehlicht = "light.wled";
+ final_off = "00:37";
turn_on = entity_id: at:
{ alias = "Turn on ${entity_id} at ${at}";
@@ -25,6 +26,7 @@ in
automation =
[
(turn_on schranklicht "17:30")
+ (turn_on weihnachtslicht "17:30")
(turn_on fernsehlicht "19:00")
{ alias = "Always turn off the urlaub lights at ${final_off}";
@@ -35,7 +37,7 @@ in
[
{
service = "light.turn_off";
- entity_id = [ schranklicht fernsehlicht ];
+ entity_id = [ schranklicht weihnachtslicht fernsehlicht ];
}
];
}
[cgit] Unable to lock slot /tmp/cgit/2a300000.lock: No such file or directory (2)