diff options
author | lassulus <lassulus@lassul.us> | 2020-12-30 09:24:39 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-12-30 09:24:39 +0100 |
commit | a180af5b08160f50300769062c120edab3372d81 (patch) | |
tree | 19293e02d54c55686d0bc31cef211e77787df688 /makefu/2configs/ham/light/schlafzimmer.nix | |
parent | e0bb61d3d3c2e053ab8c8c22f9cdded409ecece7 (diff) | |
parent | db80207267dd750d6e5fce0a4c15961aa324627b (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/ham/light/schlafzimmer.nix')
-rw-r--r-- | makefu/2configs/ham/light/schlafzimmer.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/makefu/2configs/ham/light/schlafzimmer.nix b/makefu/2configs/ham/light/schlafzimmer.nix new file mode 100644 index 000000000..274fd60a3 --- /dev/null +++ b/makefu/2configs/ham/light/schlafzimmer.nix @@ -0,0 +1,41 @@ +let + arbeitszimmer_licht = [ + "light.led_wand" + "light.arbeitszimmer_led1_led_strip" # LED-Kreis in cube + "light.arbeitszimmer_flur_osram_light" + "light.arbeitszimmer_schrank_dimmer_light" + "light.arbeitszimmer_schrank_osram_light" + ]; + wohnzimmer_licht = [ + "light.wohnzimmer_fernseher_led_strip" # led um fernseher + "light.wohnzimmer_komode_osram_light" + "light.wohnzimmer_schrank_osram_light" + "light.wohnzimmer_stehlampe_osram_light" + ]; + schlafzimmer_licht = [ + "light.schlafzimmer_komode_osram_light" + ]; +in { + services.home-assistant.config.light = [ + { + platform = "group"; + name = "Arbeitszimmer Lichter"; + entities = arbeitszimmer_licht; + } + { + platform = "group"; + name = "Wohnzimmer Lichter"; + entities = wohnzimmer_licht; + } + { + platform = "group"; + name = "Schlafzimmer Lichter"; + entities = schlafzimmer_licht; + } + { + platform = "group"; + name = "Alle Lichter"; + entities = arbeitszimmer_licht ++ wohnzimmer_licht ++ schlafzimmer_licht; + } + ]; +} |