Need help with the Repeat Action

I am building a Halloween prop where the kids push a button to start a sequence of events.
This code works fine with a pushbutton.

What I would like to do for testing the apparatus is to run this code every fifteen seconds, so I thought the Repeat Action would be perfect. But the script is only called once. Can anyone suggest what I may do differently?

# This is part of our Halloween setup where the Trick or Treaters
# will press a button to get a prize delivered.
#
substitutions:
  device_name: prize-delivery
  friendly_name: prize_delivery

esphome:
  name: ${device_name}
  friendly_name: ${friendly_name}
  on_boot:
    then:
      - light.turn_on: ready
      - repeat:
          count: 5
          then:
            - script.execute: cycle_start
            - delay: 15s

Try putting a script.wait action between the execute and the delay (or similar).

You could also look at interval:

Thanks. Interval fixed it.