I have a simple script where I want to wait for a “metadata updated” zwave node event for a given device (and then ping it), but I want to be able to pass the device_id
as a parameter to the script:
alias: Wait and Ping
sequence:
- wait_for_trigger:
- platform: zwave_js.event
device_id: '{{ device_id }}'
event_source: node
event: metadata updated
- service: zwave_js.ping
data: {}
target:
device_id: '{{ device_id }}'
description: Wait and Ping
fields:
entity_id:
name: Device ID
required: true
selector:
device: null
mode: parallel
However, whenever I try to save/validate my script I get the error "Message malformed: No nodes found for given device_ids or entity_ids."
Does the zwave_js.event
trigger platform just not support templates?