Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for wenzhi wz-m100-w human presence sensor #2776

Merged
merged 7 commits into from
Jan 23, 2025
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 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,111 @@
name: mmWave presence sensor
products:
- id: wcd9lxpvhfvqx1qw
name: WZ-M100-W
salbr marked this conversation as resolved.
Show resolved Hide resolved
manufacturer: Wenzhi
model: WZ-M100-W
entities:
- entity: binary_sensor
class: occupancy
dps:
- id: 1
type: string
name: sensor
mapping:
- dps_val: presence
value: true
- dps_val: none
value: false
- 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
salbr marked this conversation as resolved.
Show resolved Hide resolved
class: distance
dps:
- id: 9
type: integer
name: sensor
unit: m
class: measurement
mapping:
- scale: 100
- entity: sensor
name: Illuminance
salbr marked this conversation as resolved.
Show resolved Hide resolved
class: illuminance
dps:
- id: 103
type: integer
name: sensor
unit: lx
class: measurement
mapping:
- scale: 10
- entity: number
name: Interval time
category: config
salbr marked this conversation as resolved.
Show resolved Hide resolved
dps:
- id: 104
type: integer
name: value
unit: s
mapping:
- scale: 10
- entity: number
name: Detection delay
category: config
salbr marked this conversation as resolved.
Show resolved Hide resolved
dps:
- id: 105
type: integer
name: value
unit: s
mapping:
- scale: 10
- entity: number
name: Unmanned Delay
category: config
salbr marked this conversation as resolved.
Show resolved Hide resolved
dps:
- id: 106
type: integer
name: value
unit: s
mapping:
- scale: 10
Loading