ma bureautomation: cleanup

This commit is contained in:
makefu 2021-10-01 18:37:59 +02:00
parent 4cae5750b2
commit fc8a7be201
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";