Set Sequence to run forever

What is the best way to set this script sequence to run ‘forever’? I am sequentially misting several aeroponic buckets for 5 seconds every minute. Presently the script does not contain a Schedule, since I do not want to defer the start time. I have tried multiple attempts using a While statement without success (I am not really a programmer). I am ok with using a card to stop the sequence when necessary. This may not be the most elegant solution, but I am looking for something easy. Any assistance is appreciated.
Ron

irrigation_unlimited:
  controllers:
#   -name: "Controller 1"
    enabled: true
    zones:
      - name: "Container 1"
        entity_id: "switch.zone6"
      - name: "Container 2"
        entity_id: "switch.zone4"
      - name: "Container 3"
        entity_id: "switch.zone5"
    sequences:
#     repeat: 12
      zones:
      - zone_id: 1
        enabled: true
        duration: "00:00:08"
#        delay: "00:00:02"
      - zone_id: 2
        enabled: true
        duration: "00:00:08"
#        delay: "00:00:02"
      - zone_id: 3
        enabled: true
        duration: "00:00:08"
#        delay: "00:00:01"
#        repeat: 2 (works)


You can use a time pattern trigger. (automation 3 in the example)

https://www.home-assistant.io/docs/automation/trigger/#time-pattern-trigger

I tried to add the trigger in several places in the configuration.yaml script (see below). Could you provide some direction as to how it should be implemented?

irrigation_unlimited:
  controllers:
#   -name: "Controller 1"
    enabled: true
    zones:
      - name: "Container 1"
        entity_id: "switch.zone6"
      - name: "Container 2"
        entity_id: "switch.zone4"
      - name: "Container 3"
        entity_id: "switch.zone5"
    sequences:
automation:
  trigger:
    - platform: time_pattern
      # Matches every hour at 5 minutes past whole
      minutes: '*'
  action:
      zones:
      - zone_id: 1
        enabled: true
        duration: "00:00:08"
#        delay: "00:00:02"
      - zone_id: 2
        enabled: true
        duration: "00:00:08"
#        delay: "00:00:02"
      - zone_id: 3
        enabled: true
        duration: "00:00:08"
#        delay: "00:00:01"
    -action: repeat

Just add the minute threshold you want to trigger every hour. this will trigger five minutes past the hour, every hour.

trigger:
  - platform: time_pattern
    minutes: "05"

this is a hacs config of the irrigation_unlimited integration right? it’s not an automation nor a script. so the triggers and time_patterns won’t work.

i don’t use this integration, but looking at the docs i’m thinking you need to use the cron schedule… the below should try to run each zone once every minute if i didn’t screw it up…

irrigation_unlimited:
  controllers:
#   -name: "Controller 1"
    enabled: true
    zones:
      - name: "Container 1"
        entity_id: "switch.zone6"
      - name: "Container 2"
        entity_id: "switch.zone4"
      - name: "Container 3"
        entity_id: "switch.zone5"
    sequences:
      - name: "On the hour from 5am to 5pm"
        schedules:
          - time:
              cron: "* * * * *"
        zones:
#     repeat: 12
          - zone_id: 1
            enabled: true
            duration: "00:00:08"
    #        delay: "00:00:02"
          - zone_id: 2
            enabled: true
            duration: "00:00:08"
    #        delay: "00:00:02"
          - zone_id: 3
            enabled: true
            duration: "00:00:08"
  #        delay: "00:00:01"
#        repeat: 2 (works)

but in case i did screw it up, i still believe cron is the right thing to do. look at the reference to cron here: