mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Fix Z-Wave automation example (#24651)
This commit is contained in:
parent
cfd76e8841
commit
f159c7c2e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user