Automation Triggers with state times


I have just made an automation with template triggers, but they only trigger when a certain condition has been the same for 72 hours, example below:

platform: template
value_template: >-
  {{ states('sensor.average_temperature_week') | float <=
  states('input_number.winter_temp') | float}} 
  hours: 72
  minutes: 0
  seconds: 0
alias: Winter
id: Winter

Lets say 48 hours have passed and HA is restarted, what happens to this trigger? Does it start again from 0? Does it not trigger at all?


It won’t fire until the template renders false then renders true for 72 hours.

Thanks for the reply I thought that might be the case.

Is there anyway to overcome this? I did think of making a helper that would have a timestamp of when the template is true and then use that in the automation (when now is more than 3 days from timestamp) but that seems like Im over complicating it.