Browse Source

change class to presence

blakadder 2 years ago
parent
commit
53110a5f0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      custom_components/tuya_local/devices/zym201_presence_sensor.yaml

+ 1 - 1
custom_components/tuya_local/devices/zym201_presence_sensor.yaml

@@ -4,7 +4,7 @@ products:
     name: ZY-M201-WIFI24G
 primary_entity:
   entity: binary_sensor
-  class: occupancy
+  class: presence
   dps:
     - id: 101
       type: string