I have tested this over several days, and it seems to work fine. However, in some further research, I learned that template triggers that contain an entity should only be evaluated when that entity changes. Since mine does contain an entity, it should not work? But it does!
Two questions:
Why does this work when it seems that it shouldn’t? Have the rules for evaluating template triggers changed since the forum posts I read were created?
Still not clear what is wrong. But either way.
There is a much better way to trigger than using a template, perhaps that didn’t exist at the time of that thread.
trigger:
- platform: time
at: input_datetime.departure_time
Above listening on state changes of referenced entities, if you use now() in a trigger, the condition will automatically be evaluated every minute.
It’s documented, just lazy to look for it now