Change Toggle Rate for Light Switch

Hey all. I’m simply trying to get my Lutron Caseta dimmer switch to blink at a slower rate. YAML below. Currently HA toggles really fast and the switch can’t toggle super fast.

alias: Toggle Foyer Light on Alarm Trigger
description: ""
trigger:
  - platform: device
    device_id: 7888fb09a9229aea8b875f4a9cac6bf5
    domain: alarm_control_panel
    entity_id: alarm_control_panel.alarmo
    type: triggered
condition: []
action:
  - repeat:
      while:
        - condition: device
          device_id: 7888fb09a9229aea8b875f4a9cac6bf5
          domain: alarm_control_panel
          entity_id: alarm_control_panel.alarmo
          type: is_triggered
      sequence:
        - type: toggle
          device_id: 4080155058734e59570e7fb701b51c32
          entity_id: light.dining_room_table_lights
          domain: light
mode: single
action:
  - repeat:
      while:
        - condition: device
          device_id: 7888fb09a9229aea8b875f4a9cac6bf5
          domain: alarm_control_panel
          entity_id: alarm_control_panel.alarmo
          type: is_triggered
      sequence:
        - type: toggle
          device_id: 4080155058734e59570e7fb701b51c32
          entity_id: light.dining_room_table_lights
          domain: light
        - delay: 5 # seconds
mode: single

Or preferably (without device conditions and actions):

action:
  - repeat:
      while:
        - condition: state
          entity_id: alarm_control_panel.alarmo
          state: triggered
      sequence:
        - service: light.toggle
          entity_id: light.dining_room_table_lights
        - delay: 5 #seconds
mode: single