Просмотр исходного кода

Zigbee smart bulb: add another compatible Moes bulb

Make dp 6 optional to improve detection
PR #1762
Jason Rumney 1 год назад
Родитель
Сommit
9285426b2a
1 измененных файлов с 6 добавлено и 3 удалено
  1. 6 3
      custom_components/tuya_local/devices/zigbee_smart_bulb.yaml

+ 6 - 3
custom_components/tuya_local/devices/zigbee_smart_bulb.yaml

@@ -1,9 +1,11 @@
-name: Zigbee light bulb
+name: Zigbee light
 products:
   - id: mja6r5ix
-    name: MOES zigbee smart bulb
+    name: MOES zigbee lightbulb
   - id: it1u8ahz
-    name: MOES smart bulb RGBCW zigbee
+    name: MOES zigbee RGBCW
+  - id: rcggc0ys
+    name: MOES ZC-TD SW zigbee GU10
 primary_entity:
   entity: light
   dps:
@@ -68,6 +70,7 @@ secondary_entities:
       - id: 6
         type: string
         name: option
+        optional: true
         mapping:
           - dps_val: 00282800012e0081015c00000000
             value: Night