Explorar el Código

Screensync light: change some dp types.

Based on data coming back from light, dp 101 and 102 are integers.
Values after that are not present in the data captured, so these may also be
incorrect leading to misdetection if present.
Jason Rumney hace 3 años
padre
commit
901903600f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      custom_components/tuya_local/devices/screensync_light.yaml

+ 2 - 2
custom_components/tuya_local/devices/screensync_light.yaml

@@ -58,11 +58,11 @@ primary_entity:
       name: control_data
       optional: true
     - id: 101
-      type: string
+      type: integer
       name: setup_side
       optional: true
     - id: 102
-      type: string
+      type: integer
       name: light_type
       optional: true
     - id: 103