ctucx.git: nixfiles

ctucx' nixfiles

commit 1a403a32e62bb887273470ea99b5e8a915cabac7
parent 09bde96029d004813a9848534239ef2823925e59
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 12 Aug 2022 16:05:37 +0200

machines/lollo/smarthome: add lamp
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/machines/lollo/smarthome/smartied.nix b/machines/lollo/smarthome/smartied.nix
@@ -48,6 +48,12 @@ let
         deviceName = "ikea_lamp_l";
       };
 
+      "tradfri-lamp-l-rgb" = {
+        type       = "Zigbee2MqttLamp";
+        lampType   = "RGB";
+        deviceName = "ikea_lamp_l_rgb";
+      };
+
       "tradfri-lamp-i" = {
         type       = "Zigbee2MqttLamp";
         lampType   = "WhiteSpectrum";

@@ -225,6 +231,11 @@ let
                 relay  = 1;
               }
               {
+                name   = "RGB Lamp";
+                device = "tradfri-lamp-l-rgb";
+                relay  = 0;
+              }
+              {
                 name   = "Bed";
                 device = "tradfri-co-l-bed";
                 relay  = 0;