Преглед изворни кода

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 година
родитељ
комит
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
             max: 255
     - id: 6
     - id: 6
       name: scene
       name: scene
-      type: base64
+      type: hex
     - id: 7
     - id: 7
       name: flash_scene1
       name: flash_scene1
-      type: base64
+      type: hex
     - id: 8
     - id: 8
       name: flash_scene2
       name: flash_scene2
-      type: base64
+      type: hex
     - id: 9
     - id: 9
       name: flash_scene3
       name: flash_scene3
-      type: base64
+      type: hex
     - id: 10
     - id: 10
       name: flash_scene4
       name: flash_scene4
-      type: base64
+      type: hex