Explorar o código

feat (hombli_cctxmas_lights): scene dps are base64

These ones are declared as raw in the dps info, which fairly reliably means
base64 encoded. Others are declared as string, which may mean hex encoded, but
there is not enough example data to be sure.

Issue #4087
Jason Rumney hai 2 meses
pai
achega
c9e1ed2dc5

+ 4 - 4
custom_components/tuya_local/devices/hombli_cctxmas_lights.yaml

@@ -65,11 +65,11 @@ entities:
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 52
       - id: 52
-        type: string
+        type: base64
         optional: true
         optional: true
         name: value
         name: value
       - id: 51
       - id: 51
-        type: string
+        type: base64
         optional: true
         optional: true
         name: list
         name: list
   - entity: text
   - entity: text
@@ -79,7 +79,7 @@ entities:
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 53
       - id: 53
-        type: string
+        type: bsae64
         optional: true
         optional: true
         name: value
         name: value
   - entity: text
   - entity: text
@@ -89,6 +89,6 @@ entities:
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 54
       - id: 54
-        type: string
+        type: base64
         optional: true
         optional: true
         name: value
         name: value