32 lines
795 B
Nix
32 lines
795 B
Nix
let
|
|
wohnzimmerbeleuchtung = [
|
|
"light.wohnzimmer_komode_osram_light"
|
|
"light.wohnzimmer_schrank_osram_light"
|
|
];
|
|
wohnzimmer_deko = [
|
|
"light.wohnzimmer_fernseher_led_strip" # led um fernseher
|
|
"light.wohnzimmer_lichterkette_led_strip" # led um fernsehwand
|
|
"light.kinderzimmer_lichterkette_licht" # led um fenster
|
|
];
|
|
in {
|
|
imports = [ ./tint_wohnzimmer.nix ];
|
|
services.home-assistant.config.wled = {};
|
|
services.home-assistant.config.light = [
|
|
{
|
|
platform = "group";
|
|
name = "Wohnzimmerbeleuchtung";
|
|
entities = wohnzimmerbeleuchtung;
|
|
}
|
|
{
|
|
platform = "group";
|
|
name = "Wohnzimmer Deko";
|
|
entities = wohnzimmer_deko;
|
|
}
|
|
];
|
|
}
|
|
|
|
# trigger.to_state.attributes.action_group:
|
|
# 1: 18388
|
|
# 2: 18389
|
|
# 3: 18390
|