diff options
| author | Joe Mou <dev@mou.fo> | 2026-01-12 08:33:30 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-02-04 14:27:00 -0500 |
| commit | 1cebf605994cf506f933e5ad33a863061eb2a1a8 (patch) | |
| tree | ed1d0ba69edd77ff8bf1e53f3b219b7825473125 /hostnix/elmo | |
| parent | ca5c7c86e23f0588339ff08753a448679ee6630b (diff) | |
HA: Remove grow light automation, control SAD lamp with button
Diffstat (limited to 'hostnix/elmo')
| -rw-r--r-- | hostnix/elmo/home-assistant.nix | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/hostnix/elmo/home-assistant.nix b/hostnix/elmo/home-assistant.nix index 6ca11e6..20ae957 100644 --- a/hostnix/elmo/home-assistant.nix +++ b/hostnix/elmo/home-assistant.nix @@ -54,7 +54,7 @@ }; entity = { - sad_lamp = "switch.dot"; + sad_lamp = "switch.wakko"; }; }; @@ -571,32 +571,6 @@ (ha.action.off "climate.bedroom_cool") ]; } - { - alias = "Grow light morning"; - # TODO make configurable (snooze) - trigger = [ (ha.trigger.at "09:00") ]; - condition = [ - { - condition = "zone"; - entity_id = "person.joe"; - zone = "zone.home"; - } - ]; - action = [ - (ha.action.on "light.grow_light") - (ha.action.on "switch.wakko") - # { - # service = "fan.set_percentage"; - # target.entity_id = "fan.core_200s"; - # data.percentage = 100; - # } - ]; - } - { - alias = "Grow light night"; - trigger = [ (ha.trigger.at "20:00") ]; - action = [ (ha.action.off "switch.wakko") ]; - } (button "binary_sensor.bedroom_button_1" [ (ha.action.toggle "light.panel_light") @@ -607,7 +581,7 @@ } ]) (button "binary_sensor.bedroom_button_2" - (ha.action.toggle "switch.wakko")) + (ha.action.toggle ha.entity.sad_lamp)) { alias = "Fridge door ajar"; |
