ma bureautomation: cleanup

This commit is contained in:
makefu 2021-10-01 18:37:59 +02:00
parent acafff0de3
commit 359ffa2d40
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 7 additions and 1 deletions

View File

@ -25,6 +25,6 @@ in {
services.home-assistant.config.light = services.home-assistant.config.light =
[ [
# (tasmota_pwm "RedButton LED" "redbutton" 1 1023) #LED PWM1 # (tasmota_pwm "RedButton LED" "redbutton" 1 1023) #LED PWM1
(tasmota_pwm "RedButton Buzzer" "redbutton" 2 512) #buzzer PWM2 # (tasmota_pwm "RedButton Buzzer" "redbutton" 2 512) #buzzer PWM2
]; ];
} }

View File

@ -1,4 +1,10 @@
{config, ... }:
{ {
# all configured persons become part of group "team"
services.home-assistant.config.group.team = {
name = "team";
entities = map (x: "person.${x.name}" ) config.services.home-assistant.config.person;
};
services.home-assistant.config.person = services.home-assistant.config.person =
[ [
{ name = "Thorsten"; { name = "Thorsten";