ctucx.git: nixfiles

ctucx' nixfiles

commit 5a35817418189ac8aafc144318effd708a5cd6ac
parent ac920a2c9e587b2338152aec73abbe70aac617bc
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 28 Jan 2022 09:49:00 +0100

machines/lollo/smarthome: add new device
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/machines/lollo/smarthome/smartied.nix b/machines/lollo/smarthome/smartied.nix
@@ -119,9 +119,9 @@ let
         deviceName = "ikea_lamp_i_rgb";
       };
 
-      "tradfri-co-l" = {
+      "tradfri-co-l-bed" = {
         type       = "Zigbee2MqttRelay";
-        deviceName = "ikea_control_outlet_l";
+        deviceName = "ikea_control_outlet_l_bed";
       };
 
       "tradfri-co-i-desk" = {

@@ -180,7 +180,7 @@ let
               }
               {
                 name   = "Bed";
-                device = "tradfri-co-l";
+                device = "tradfri-co-l-bed";
                 relay  = 0;
               }
               {
diff --git a/machines/lollo/smarthome/zigbee2mqtt.nix b/machines/lollo/smarthome/zigbee2mqtt.nix
@@ -78,11 +78,8 @@ in {
           "0x0c4314fffe194a18".friendly_name = "ikea_remote_hallway";
           "0x0c4314fffe194ca3".friendly_name = "ikea_remote_i_desk";
 
-
-          "0x588e81fffe3ec895".friendly_name = "ikea_button_l_desk";
-
           "0xcc86ecfffe8bf621".friendly_name = "ikea_control_outlet_i_desk";
-          "0x588e81fffebcdc1e".friendly_name = "ikea_control_outlet_l";
+          "0xec1bbdfffeca67bb".friendly_name = "ikea_control_outlet_l_bed";
 
           "0x847127fffecd89b6".friendly_name = "ikea_motionsensor";
         };