Timer automation

I’m trying to do a automation when a timer reach 1 minute, I tried different things but so far nothing is working! :frowning:

My last tentative was this:

    trigger:
      platform: template
      value_template: >-
        "{{ (as_timestamp(state_attr("timer.time_to_sleep_playroom", "finishes_at")) - as_timestamp(states.sensor.date_time_iso.state)) < 60 }}"

But I notice it doesn’t get update every second, and looks kind of random the time it get’s updates. Any suggestion?!