Am I too stupid to get it?
I’m trying to fire a ‘time pattern’ trigger which should result in an action only called upon that trigger being fired.
Normally I do use trigger.id to get that solved, but it looks as if trigger.id isn’t implemented for that trigger?
GUI doesn’t allow me to set an id, nor does adding it from the YAML side results in a trigger.id being added to that trigger.
tom_l
2
All triggers have an id property: https://www.home-assistant.io/docs/automation/templating/#all
Share the yaml you are attempting.
If you only have the one time pattern trigger in the automation you can also use:
"{{ trigger.platform == 'time_pattern' }}"
justone
3
Ups … looks as if the problem was a “browser refresh” issue or something like that
1 Like