ma bureautomation: cleanup
This commit is contained in:
parent
acafff0de3
commit
359ffa2d40
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user