summaryrefslogtreecommitdiffstats
path: root/2configs/bureautomation
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-10-01 18:37:59 +0200
committermakefu <github@syntax-fehler.de>2021-10-01 18:37:59 +0200
commitfc8a7be201678c06c8adb1d5478c05285355538c (patch)
tree2e94415c388481f459aba143386491cdaa435e4c /2configs/bureautomation
parent4cae5750b28ab82e55a64b27b17b85bc3a7b9bf8 (diff)
ma bureautomation: cleanup
Diffstat (limited to '2configs/bureautomation')
-rw-r--r--2configs/bureautomation/light/buzzer.nix2
-rw-r--r--2configs/bureautomation/person/team.nix6
2 files changed, 7 insertions, 1 deletions
diff --git a/2configs/bureautomation/light/buzzer.nix b/2configs/bureautomation/light/buzzer.nix
index bc2ba4e57..4851dbd9b 100644
--- a/2configs/bureautomation/light/buzzer.nix
+++ b/2configs/bureautomation/light/buzzer.nix
@@ -25,6 +25,6 @@ in {
services.home-assistant.config.light =
[
# (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
];
}
diff --git a/2configs/bureautomation/person/team.nix b/2configs/bureautomation/person/team.nix
index bf3d09c57..d0d13dd98 100644
--- a/2configs/bureautomation/person/team.nix
+++ b/2configs/bureautomation/person/team.nix
@@ -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 =
[
{ name = "Thorsten";