Skip to content

Commit

Permalink
primary and secondary entities are not accepted by tests, therefore u…
Browse files Browse the repository at this point in the history
…se only entities
  • Loading branch information
salbr authored Jan 14, 2025
1 parent 41801f3 commit 3b7f79d
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions custom_components/tuya_local/devices/wzm100w_presence_sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@ products:
name: WZ-M100-W
manufacturer: Whenzi
model: 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:
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
Expand Down

0 comments on commit 3b7f79d

Please sign in to comment.