YAML automations without device_id

Thanks for taking the time to perform the suggested experiments. That’s the data I needed from funkytwig to confirm my suspicions about templating limitations. Looks like the answer is to broaden the Event Trigger (any device’s events) and narrow it (to the desired device’s event) in the condition.