From 060a8f28fa1fc648bdf66afb31a5d1efac868837 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 28 Jul 2023 22:24:15 +0200 Subject: makefu: move out to own repo, add vacation-note --- makefu/2configs/bureautomation/switch/rfbridge.nix | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 makefu/2configs/bureautomation/switch/rfbridge.nix (limited to 'makefu/2configs/bureautomation/switch/rfbridge.nix') diff --git a/makefu/2configs/bureautomation/switch/rfbridge.nix b/makefu/2configs/bureautomation/switch/rfbridge.nix deleted file mode 100644 index 9b9de7793..000000000 --- a/makefu/2configs/bureautomation/switch/rfbridge.nix +++ /dev/null @@ -1,19 +0,0 @@ -let - topic = "rfbridge"; - bridge = name: payload_on: payload_off: - { platform = "mqtt"; - inherit name payload_on payload_off; - command_topic = "/bam/${topic}/cmnd/rfcode"; - availability_topic = "/bam/${topic}/tele/LWT"; - payload_available= "Online"; - payload_not_available= "Offline"; - }; -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") - ]; -} -- cgit v1.2.3