summaryrefslogtreecommitdiffstats
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
commit359ffa2d405159a267060877c250b7116e31c580 (patch)
tree83c8c4a75721b7778cc4dc77078c7dfc6457f2b9
parentacafff0de3987f1bf4aff0b6dc61849c3814fe49 (diff)
ma bureautomation: cleanup
-rw-r--r--makefu/2configs/bureautomation/light/buzzer.nix2
-rw-r--r--makefu/2configs/bureautomation/person/team.nix6
2 files changed, 7 insertions, 1 deletions
diff --git a/makefu/2configs/bureautomation/light/buzzer.nix b/makefu/2configs/bureautomation/light/buzzer.nix
index bc2ba4e5..4851dbd9 100644
--- a/makefu/2configs/bureautomation/light/buzzer.nix
+++ b/makefu/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/makefu/2configs/bureautomation/person/team.nix b/makefu/2configs/bureautomation/person/team.nix
index bf3d09c5..d0d13dd9 100644
--- a/makefu/2configs/bureautomation/person/team.nix
+++ b/makefu/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";