ソースを参照

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 3 年 前
コミット
901903600f

+ 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