diff options
author | makefu <github@syntax-fehler.de> | 2020-01-08 18:42:09 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-01-08 18:44:03 +0100 |
commit | c5d90459230c806771b0265788494a3fa52108c9 (patch) | |
tree | c22a3958b1dac9daca77aa71c52a63599d6ba597 /krebs/2configs/shack/glados/automation/hass-restart.nix | |
parent | 5d2e66eb2c0cb5c4c6a5592e53d1baad21721430 (diff) |
filebitch.r: init;shack/glados: fix schlechte_luft automation, add hass-restart
Diffstat (limited to 'krebs/2configs/shack/glados/automation/hass-restart.nix')
-rw-r--r-- | krebs/2configs/shack/glados/automation/hass-restart.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/krebs/2configs/shack/glados/automation/hass-restart.nix b/krebs/2configs/shack/glados/automation/hass-restart.nix new file mode 100644 index 000000000..0b4439d97 --- /dev/null +++ b/krebs/2configs/shack/glados/automation/hass-restart.nix @@ -0,0 +1,19 @@ +# needs: +# light.fablab_led +[ + { alias = "State on HA start-up"; + trigger = { + platform = "homeassistant"; + event = "start"; + }; + action = [ + { service = "light.turn_on"; + data = { + entity_id = "light.fablab_led"; + effect = "Rainbow"; + }; + } + ]; + } +] + |