Hi All! I am trying to use one automation to trigger a script, but I need to pass the entity_id that triggered the automation. Does anyone know where this is found (proper syntax)? I can’t find anything in the docs or on here.
Here is my automation:
- alias: '[HA] Timer X' trigger: - platform: event event_type: timer.finished event_data: entity_id: timer.timer_0, timer.timer_1, timer.timer_2, timer.timer_3, timer.timer_4 condition:  action: - service: script.timer_x_execute data: timer: trigger.event.data.event.data.entity_id
In the last line I am looking for one of the following to pass into the script:
timer.timer_0, timer.timer_1, timer.timer_2, timer.timer_3, timer.timer_4
I have tried:
Any help would be greatly appreciated!