I’m trying to create a trigger when a specific script is turned on/started. Below is what I have in my automation, but the automation is not being triggered when script.gate_toggle
has been started/turned on. Below is the yaml
and also a screen-shot of the automation. Do I know have the right event?
trigger:
- platform: event
event_type: script.script_started
event_data:
entity_id: script.gate_toggle
id: gate-toggled
Any pointers appreciated. I was having trouble finding where I can get a list of these possible events foro an entity. I was looking here to see what events are fired for a script