Skip to content

Commit

Permalink
add support for wenzhi wz-m100-w human presence sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
salbr committed Jan 13, 2025
1 parent 23fa0fe commit 8328841
Showing 1 changed file with 112 additions and 0 deletions.
112 changes: 112 additions & 0 deletions custom_components/tuya_local/devices/wzm100w_presence_sensor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: mmWave presence sensor
products:
- id: wcd9lxpvhfvqx1qw
name: WZ-M100-W
manufacturer: Whenzi
modell: WZ-M100-W
primary_entity:
entity: binary_sensor
class: occupancy
dps:
- id: 1
type: string
name: sensor
mapping:
- dps_val: presence
value: true
- dps_val: none
value: false
secondary_entities:
- entity: number
name: Sensitivity
category: config
icon: "mdi:motion-sensor"
dps:
- id: 2
type: integer
name: value
range:
min: 0
max: 9
- entity: number
name: Minimum distance
category: config
icon: "mdi:arrow-collapse-left"
dps:
- id: 3
type: integer
name: value
unit: m
range:
min: 0
max: 1000
mapping:
- scale: 100
step: 10
- entity: number
name: Maximum distance
category: config
icon: "mdi:arrow-collapse-right"
dps:
- id: 4
type: integer
name: value
unit: m
range:
min: 0
max: 1000
mapping:
- scale: 100
step: 10
- entity: sensor
name: Distance
class: distance
dps:
- id: 9
type: integer
name: sensor
unit: m
class: measurement
mapping:
- scale: 100
- entity: sensor
name: Illuminance
class: illuminance
dps:
- id: 103
type: integer
name: sensor
unit: lx
class: measurement
mapping:
- scale: 10
- entity: number
name: Interval time
category: config
dps:
- id: 104
type: integer
name: value
unit: s
mapping:
- scale: 10
- entity: number
name: Detection delay
category: config
dps:
- id: 105
type: integer
name: value
unit: s
mapping:
- scale: 10
- entity: number
name: Unmanned Delay
category: config
dps:
- id: 106
type: integer
name: value
unit: s
mapping:
- scale: 10

0 comments on commit 8328841

Please sign in to comment.