diff options
Diffstat (limited to 'hostnix/elmo/home-assistant.nix')
| -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"; |
