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

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 2 месяцев назад
Родитель
Сommit
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