#Template condition for only running an automation once in a day

1 messages · Page 1 of 1 (latest)

finite schooner
#

I have an automation that should only trigger once a day, the first time the conditions are true. Up until the 2025 Home Assistant versions, this worked fine, but now no longer works, and I can't figure out why. Here is my template condition:

  - condition: template
    value_template: >-
      {{ this.attributes.last_triggered is none or
      this.attributes.last_triggered < today_at() }}