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/switch | |
parent | 801ea60c3a31db7600d004697d4520b636f3c0df (diff) | |
parent | b26b6c4ccedfc6f92193dd7386e382d0bf88a293 (diff) |
Merge remote-tracking branch 'gum/master' into master
Diffstat (limited to 'makefu/2configs/bureautomation/switch')
-rw-r--r-- | makefu/2configs/bureautomation/switch/rfbridge.nix | 16 | ||||
-rw-r--r-- | makefu/2configs/bureautomation/switch/tasmota_switch.nix | 17 |
2 files changed, 19 insertions, 14 deletions
diff --git a/makefu/2configs/bureautomation/switch/rfbridge.nix b/makefu/2configs/bureautomation/switch/rfbridge.nix index 1336549a3..9b9de7793 100644 --- a/makefu/2configs/bureautomation/switch/rfbridge.nix +++ b/makefu/2configs/bureautomation/switch/rfbridge.nix @@ -8,10 +8,12 @@ let payload_available= "Online"; payload_not_available= "Offline"; }; -in -[ - (bridge "Nachtlicht A" "#414551" "#414554") - (bridge "Nachtlicht B" "#415151" "#415154") - (bridge "Nachtlicht C" "#415451" "#415454") - (bridge "Nachtlicht D" "#41551F" "#415514") -] +in { + services.home-assistant.config.switch = + [ + (bridge "Nachtlicht A" "#414551" "#414554") + (bridge "Nachtlicht B" "#415151" "#415154") + (bridge "Nachtlicht C" "#415451" "#415454") + (bridge "Nachtlicht D" "#41551F" "#415514") + ]; +} diff --git a/makefu/2configs/bureautomation/switch/tasmota_switch.nix b/makefu/2configs/bureautomation/switch/tasmota_switch.nix index 115bae0cc..6c5f6b8a6 100644 --- a/makefu/2configs/bureautomation/switch/tasmota_switch.nix +++ b/makefu/2configs/bureautomation/switch/tasmota_switch.nix @@ -13,10 +13,13 @@ let retain = false; qos = 1; }; -in [ - (tasmota_plug "Bauarbeiterlampe" "plug") - (tasmota_plug "Blitzdings" "plug2") - (tasmota_plug "Fernseher" "plug3") - (tasmota_plug "Feuer" "plug4") - (tasmota_plug "Blaulicht" "plug5") -] +in { + services.home-assistant.config.switch = + [ + (tasmota_plug "Bauarbeiterlampe" "plug") + (tasmota_plug "Blitzdings" "plug2") + (tasmota_plug "Fernseher" "plug3") + (tasmota_plug "Feuer" "plug4") + (tasmota_plug "Blaulicht" "plug5") + ]; +} |