Browse Source

ZYM100W presennce: fix type of Status sensor

Jason Rumney 1 year ago
parent
commit
3af0e7e87e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      custom_components/tuya_local/devices/zym100w_presence_sensor.yaml

+ 3 - 3
custom_components/tuya_local/devices/zym100w_presence_sensor.yaml

@@ -23,15 +23,15 @@ secondary_entities:
     name: Status
     dps:
       - id: 1
-        type: boolean
+        type: string
         name: sensor
         mapping:
           - dps_val: presence
             value: Still
           - dps_val: move
             value: Moving
-          - dps_val: Empty
-            value: false
+          - dps_val: none
+            value: Empty
   - entity: number
     name: Sensitivity
     category: config