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

RGBCW v2: fields more likely hex than base64

The original issue #622 did not contain logs, only iot.tuya.com docs that list
these as Json type.
Similar devices uses hex, I don't know why I put base64, but it causes an
issue in the config_match script, so may cause an issue in other contexts as
well, even though we don't really do anything with those fields.
Jason Rumney 2 лет назад
Родитель
Сommit
ac59c217f6
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      custom_components/tuya_local/devices/rgbcw_lightbulbv2.yaml

+ 5 - 5
custom_components/tuya_local/devices/rgbcw_lightbulbv2.yaml

@@ -55,16 +55,16 @@ primary_entity:
             max: 255
     - id: 6
       name: scene
-      type: base64
+      type: hex
     - id: 7
       name: flash_scene1
-      type: base64
+      type: hex
     - id: 8
       name: flash_scene2
-      type: base64
+      type: hex
     - id: 9
       name: flash_scene3
-      type: base64
+      type: hex
     - id: 10
       name: flash_scene4
-      type: base64
+      type: hex