How to restart a timer based on conditions?

Hi everyone, at the moment i have an automation that starts a 10 minutes timer whenever an HVAC is turned on, then i have another automation that starts another HVAC as soon as this timer ends (only if conditions are met).
With this setup i can get into the case in which the timer ends, it triggers the other automation, the conditions are false, the automation does not start and the timer never starts again.
Is there a way to restart that timer? Maybe if the automation is triggered but conditions are false or just copying those conditions into a new automation restarting that timer?

Use a Choose or If/Then action in automation #2

  - platform: event
    event_type: timer.finished
      entity_id: timer.1
condition: []
  - choose:
      - conditions:
          - condition:  YOUR CONDITIONS
          - service: YOUR HVAC ACTIONS
      - service: timer.start
          entity_id: timer.1

Optionally, you can add a duration to the timer.start service call if you don’t want to use the same 10 minute duration from the original run.