summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/ham/light/groups.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-11-23 11:33:23 +0100
committerlassulus <lassulus@lassul.us>2020-11-23 11:33:23 +0100
commit1b4d1c4aaba003f42a542ce1cf442a4983f50194 (patch)
treeef6e88ffcd5f036fa31086e119fa25b7a4c98874 /makefu/2configs/ham/light/groups.nix
parent801ea60c3a31db7600d004697d4520b636f3c0df (diff)
parentb26b6c4ccedfc6f92193dd7386e382d0bf88a293 (diff)
Merge remote-tracking branch 'gum/master' into master
Diffstat (limited to 'makefu/2configs/ham/light/groups.nix')
-rw-r--r--makefu/2configs/ham/light/groups.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/makefu/2configs/ham/light/groups.nix b/makefu/2configs/ham/light/groups.nix
new file mode 100644
index 000000000..e1812b68a
--- /dev/null
+++ b/makefu/2configs/ham/light/groups.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 = [
+ "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;
+ }
+ ];
+}