From f159c7c2e7c01e0e929470a24816275e2949f1a2 Mon Sep 17 00:00:00 2001 From: kpine Date: Sat, 22 Oct 2022 00:04:24 -0700 Subject: [PATCH] Fix Z-Wave automation example (#24651) --- source/_integrations/zwave_js.markdown | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/_integrations/zwave_js.markdown b/source/_integrations/zwave_js.markdown index 22bc3a44ceb..33374625c28 100644 --- a/source/_integrations/zwave_js.markdown +++ b/source/_integrations/zwave_js.markdown @@ -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