Trigger.id not available for time pattern?

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.

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' }}"

Ups … looks as if the problem was a “browser refresh” issue or something like that

1 Like