Fix Z-Wave automation example (#24651)

This commit is contained in:
kpine 2022-10-22 00:04:24 -07:00 committed by GitHub
parent cfd76e8841
commit f159c7c2e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -471,14 +471,16 @@ This event can be used to trigger a refresh of values when the new state needs t
```yaml
trigger:
platform: event
event_type: zwave_js_value_updated
event_data:
entity_id: switch.in_wall_dual_relay_switch
- platform: event
event_type: zwave_js_value_updated
event_data:
entity_id: switch.in_wall_dual_relay_switch
action:
- service: zwave_js.refresh_value
target:
entity_id: switch.in_wall_dual_relay_switch_2, switch.in_wall_dual_relay_switch_3
data:
entity_id:
- switch.in_wall_dual_relay_switch_2
- switch.in_wall_dual_relay_switch_3
```
## Automations