#Use variable also for automation trigger
1 messages · Page 1 of 1 (latest)
You can define a trigger_variables section (using limited templates)
https://www.home-assistant.io/docs/automation/trigger/#trigger-variables
1 messages · Page 1 of 1 (latest)
I have automation for remote. It has 8 triggers (4 buttons, each for single and long press).
Is it possible to set device as variable so i do not need to edit device in 8 triggers when i duplicate automation?
I know that i can set variable but for actions.
You can define a trigger_variables section (using limited templates)
https://www.home-assistant.io/docs/automation/trigger/#trigger-variables