summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bureautomation/switch/rfbridge.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/bureautomation/switch/rfbridge.nix')
-rw-r--r--makefu/2configs/bureautomation/switch/rfbridge.nix16
1 files changed, 9 insertions, 7 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")
+ ];
+}