瀏覽代碼

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 5 月之前
父節點
當前提交
c9e1ed2dc5
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      custom_components/tuya_local/devices/hombli_cctxmas_lights.yaml

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

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