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

Added DPs that iot.tuya.com API says are in my device as optional

Jon 2 лет назад
Родитель
Сommit
d70c7eceaf
1 измененных файлов с 20 добавлено и 0 удалено
  1. 20 0
      custom_components/tuya_local/devices/rgbw_lightbulb.yaml

+ 20 - 0
custom_components/tuya_local/devices/rgbw_lightbulb.yaml

@@ -44,3 +44,23 @@ primary_entity:
           range:
             min: 0
             max: 255
+    - id: 6
+      name: scene
+      type: hex
+      optional: true
+    - id: 7
+      name: flash_scene1
+      type: hex
+      optional: true
+    - id: 8
+      name: flash_scene2
+      type: hex
+      optional: true
+    - id: 9
+      name: flash_scene3
+      type: hex
+      optional: true
+    - id: 10
+      name: flash_scene4
+      type: hex
+      optional: true