Browse Source

ZYM100W presence: fix illumination units

- Fix unit of illumination sensor (should be lx not lux) #2593
- Remove deprecated sensor (deprecated for 6 months already) #2595
Jason Rumney 1 year ago
parent
commit
2705ab371b
1 changed files with 1 additions and 17 deletions
  1. 1 17
      custom_components/tuya_local/devices/zym100w_presence_sensor.yaml

+ 1 - 17
custom_components/tuya_local/devices/zym100w_presence_sensor.yaml

@@ -17,22 +17,6 @@ primary_entity:
         - dps_val: none
         - dps_val: none
           value: false
           value: false
 secondary_entities:
 secondary_entities:
-  - entity: sensor
-    class: enum
-    deprecated: binary_sensors (motion and occupancy)
-    category: diagnostic
-    translation_key: status
-    dps:
-      - id: 1
-        type: string
-        name: sensor
-        mapping:
-          - dps_val: presence
-            value: Still
-          - dps_val: move
-            value: Moving
-          - dps_val: none
-            value: Empty
   - entity: number
   - entity: number
     name: Sensitivity
     name: Sensitivity
     category: config
     category: config
@@ -103,7 +87,7 @@ secondary_entities:
       - id: 103
       - id: 103
         type: integer
         type: integer
         name: sensor
         name: sensor
-        unit: lux
+        unit: lx
         class: measurement
         class: measurement
   - entity: binary_sensor
   - entity: binary_sensor
     class: occupancy
     class: occupancy