소스 검색

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