diff options
author | lassulus <lassulus@lassul.us> | 2020-11-23 11:33:23 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-11-23 11:33:23 +0100 |
commit | 1b4d1c4aaba003f42a542ce1cf442a4983f50194 (patch) | |
tree | ef6e88ffcd5f036fa31086e119fa25b7a4c98874 /makefu/2configs/bureautomation/light | |
parent | 801ea60c3a31db7600d004697d4520b636f3c0df (diff) | |
parent | b26b6c4ccedfc6f92193dd7386e382d0bf88a293 (diff) |
Merge remote-tracking branch 'gum/master' into master
Diffstat (limited to 'makefu/2configs/bureautomation/light')
-rw-r--r-- | makefu/2configs/bureautomation/light/buzzer.nix | 12 | ||||
-rw-r--r-- | makefu/2configs/bureautomation/light/statuslight.nix | 14 |
2 files changed, 15 insertions, 11 deletions
diff --git a/makefu/2configs/bureautomation/light/buzzer.nix b/makefu/2configs/bureautomation/light/buzzer.nix index 2067e47bf..bc2ba4e57 100644 --- a/makefu/2configs/bureautomation/light/buzzer.nix +++ b/makefu/2configs/bureautomation/light/buzzer.nix @@ -21,8 +21,10 @@ let optimistic = false; qos = 0; }; -in -[ -# (tasmota_pwm "RedButton LED" "redbutton" 1 1023) #LED PWM1 - (tasmota_pwm "RedButton Buzzer" "redbutton" 2 512) #buzzer PWM2 -] +in { + services.home-assistant.config.light = + [ + # (tasmota_pwm "RedButton LED" "redbutton" 1 1023) #LED PWM1 + (tasmota_pwm "RedButton Buzzer" "redbutton" 2 512) #buzzer PWM2 + ]; +} diff --git a/makefu/2configs/bureautomation/light/statuslight.nix b/makefu/2configs/bureautomation/light/statuslight.nix index c9d301758..de65a2379 100644 --- a/makefu/2configs/bureautomation/light/statuslight.nix +++ b/makefu/2configs/bureautomation/light/statuslight.nix @@ -48,9 +48,11 @@ let 12 # fire pattern ]; }; -in -[ - (tasmota_rgb "Status Felix" "status1") - (tasmota_rgb "Status Daniel" "status2") - (tasmota_rgb "Buslicht" "buslicht") -] +in { + services.home-assistant.config.light = + [ + (tasmota_rgb "Status Felix" "status1") + (tasmota_rgb "Status Daniel" "status2") + (tasmota_rgb "Buslicht" "buslicht") + ]; +} |