diff options
author | makefu <github@syntax-fehler.de> | 2022-01-20 23:48:09 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-01-20 23:48:41 +0100 |
commit | ef48f536a3e539b215bb004b512e62c2d0f96907 (patch) | |
tree | 589957e86d0f088d4afa8c134fb81e6fa8cd2993 /makefu/2configs/home/ham/light/arbeitszimmer.nix | |
parent | f66b93ab324af7b869544981a4d8eaa3e1e96952 (diff) |
ma ham: init tint remote control for arbeitszimmer
Diffstat (limited to 'makefu/2configs/home/ham/light/arbeitszimmer.nix')
-rw-r--r-- | makefu/2configs/home/ham/light/arbeitszimmer.nix | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/makefu/2configs/home/ham/light/arbeitszimmer.nix b/makefu/2configs/home/ham/light/arbeitszimmer.nix index 45fbfb57b..6e572c763 100644 --- a/makefu/2configs/home/ham/light/arbeitszimmer.nix +++ b/makefu/2configs/home/ham/light/arbeitszimmer.nix @@ -10,6 +10,8 @@ let "light.arbeitszimmer_pflanzenlicht" ]; in { + imports = [ ./tint_arbeitszimmer.nix ]; + services.home-assistant.config.light = [ { platform = "group"; @@ -27,16 +29,5 @@ in { } ]; services.home-assistant.config.automation = [ - { - alias = "Toggle Arbeitszimmerbeleuchtung via Remote"; - trigger = { - platform = "state"; - entity_id = "sensor.arbeitszimmer_remote1_action"; - }; - action = { - service = "light.toggle"; - data.entity_id = "light.arbeitszimmerbeleuchtung"; - }; - } ]; } |