summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bureautomation
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/bureautomation')
-rw-r--r--makefu/2configs/bureautomation/automation/philosophische-tuer.nix4
-rw-r--r--makefu/2configs/bureautomation/light/buzzer.nix2
-rw-r--r--makefu/2configs/bureautomation/person/team.nix6
3 files changed, 9 insertions, 3 deletions
diff --git a/makefu/2configs/bureautomation/automation/philosophische-tuer.nix b/makefu/2configs/bureautomation/automation/philosophische-tuer.nix
index 780ba1765..9586d9a46 100644
--- a/makefu/2configs/bureautomation/automation/philosophische-tuer.nix
+++ b/makefu/2configs/bureautomation/automation/philosophische-tuer.nix
@@ -12,8 +12,8 @@ let
recordrepo = pkgs.fetchFromGitHub {
owner = "makefu";
repo = "philosophische_tuer";
- rev = "17544c6";
- sha256 = "0bm0697fyf6s05c6yw6y25cyck04rlxj1dgazkq8mfqk6756v2bq";
+ rev = "607eff7";
+ sha256 = "1qlyqmc65yfb42q4fzd92vinx4i191w431skmcp7xjncb45lfp8j";
};
samples = user: lib.mapAttrsToList
(file: _: ''"${prefix}/${user}/${file}"'')
diff --git a/makefu/2configs/bureautomation/light/buzzer.nix b/makefu/2configs/bureautomation/light/buzzer.nix
index bc2ba4e57..4851dbd9b 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 bf3d09c57..d0d13dd98 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";