diff options
| -rw-r--r-- | hostnix/elmo/home-assistant.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hostnix/elmo/home-assistant.nix b/hostnix/elmo/home-assistant.nix index 4be7c6a..35f0e70 100644 --- a/hostnix/elmo/home-assistant.nix +++ b/hostnix/elmo/home-assistant.nix @@ -520,13 +520,21 @@ } { - alias = "Alarm"; + alias = "Grow light morning"; trigger = { platform = "time"; at = "08:00"; }; action = [ (service "switch.turn_on" "switch.wakko") ]; } + { + alias = "Grow light night"; + trigger = { + platform = "time"; + at = "20:00"; + }; + action = [ (service "switch.turn_off" "switch.wakko") ]; + } (button "binary_sensor.bedroom_button_1" (service "switch.toggle" "switch.wakko")) |
