Error in a script when repeating

I’m trying to build an alarm system using Home Assistant Alarmo. I have Bose soundbars in the house and speakers that are integrated into Home Assistant via Cast. That’s what I want to do. So now to the problem. I’ve created a script that has a repetition feature, but it’s not repeated, it’s only played once.

Does anyone know the error here?

Error: CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.1.101:8123/local/alarm.mp3/?… timed out after 30.0 s.

Not sure what that is for but why are you telling us your password?

this is an Script how I have a replay for The Sound and the Sound will only play one time

Well the password is in the post history, so I would either make sure it was a 1 time thing or change it if it wasn’t a 1 time thing.

So for the actual question, you would need to share more of what you are trying to do, what you did so far and some code.

Reading this first will help you to get a better answer by helping us to understand the problem.

I’m trying to build an alarm system using Home Assistant Alarmo. I have Bose soundbars in the house and speakers that are integrated into Home Assistant via Cast. That’s what I want to do. So now to the problem. I’ve created a script that has a repetition feature, but it’s not repeated, it’s only played once.

Here is my Coco from the Skript

alias: Alarmanlage ausgelöst
sequence:

  • service: media_player.volume_set
    metadata: {}
    data:
    volume_level: 0.28
    target:
    entity_id: media_player.macbook_pro
    device_id: 8af396b893efedffcb4b676c4433bdc8
  • repeat:
    sequence:
    - service: light.turn_on
    metadata: {}
    data:
    rgb_color:
    - 255
    - 0
    - 0
    flash: long
    target:
    entity_id: light.kinderzimmer_1
    - service: media_player.play_media
    data:
    media_content_id: http://192.168.1.101:8123/local/alarm.mp3/
    media_content_type: Alarm
    target:
    entity_id: media_player.bose_smart_soundbar_900_2
    device_id: a27a1dae12f74c37e276bab9cfbf9fa7
    - delay:
    hours: 0
    minutes: 0
    seconds: 20
    milliseconds: 0
    enabled: true
    until:
    - condition: state
    entity_id: alarm_control_panel.alarmo
    state: disarming
    description: “”
    icon: mdi:alarm-light

We cannot work with that. Please format it properly:

```
CODE GOES HERE
```

alias: Alarmanlage ausgelöst
sequence:
  - service: media_player.volume_set
    metadata: {}
    data:
      volume_level: 0.28
    target:
      entity_id: media_player.macbook_pro
      device_id: 8af396b893efedffcb4b676c4433bdc8
  - repeat:
      sequence:
        - service: light.turn_on
          metadata: {}
          data:
            rgb_color:
              - 255
              - 0
              - 0
            flash: long
          target:
            entity_id: light.kinderzimmer_1
        - service: media_player.play_media
          data:
            media_content_id: http://192.168.1.101:8123/local/alarm.mp3/
            media_content_type: Alarm
          target:
            entity_id: media_player.bose_smart_soundbar_900_2
            device_id: a27a1dae12f74c37e276bab9cfbf9fa7
        - delay:
            hours: 0
            minutes: 0
            seconds: 20
            milliseconds: 0
          enabled: true
      until:
        - condition: state
          entity_id: alarm_control_panel.alarmo
          state: disarming
description: ""
icon: mdi:alarm-light