Time-based Automation randomly stopps after update

Hello everyone. I updated from 2023.05.X to 2023.06.3 last week.

I have an easy but long purely time based automation to water our lawn. This ran fine for weeks but stopped working after the update. It turns a smart swtich on and off 6 times for 6 zones. The strange thing is that it now stopps the automation at a different point every time I try it. Sometimes it runs through 3 steps, sometimes through 5 but never through all of them. The trace only says “this node wasn’t triggered” on the next one that it didnt run anymore. Anyone have a similar problem?
This is the automation:

alias: Gartenbewässerung
description: ""
trigger:
  - platform: time
    at: "01:50:00"
condition: []
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 50
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 50
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 20
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 50
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 50
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - delay:
      hours: 0
      minutes: 50
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - service: notify.mobile_app_bernhards_iphone
    data:
      message: Bewässerungszyklus beendet
  - service: notify.alexa_media
    data:
      message: Der Bewässerungszyklus wurde erfolgreich beendet!
      target:
        - media_player.wohnzimmer
        - media_player.kuche
      data:
        type: announce
  - service: notify.mobile_app_elisabeths_iphone
    data:
      message: Bewässerungszyklus beendet
mode: single

I have just simple time triggered automation that no longer work either, I have not been able to trace down yet what the issue is.

Lets hope someone else has the same problem too. I have been checking traces and it is just random when it stops. It always triggers the automation time based but then during the 6 delays it stopps randomly at one point and doesnt trigger the rest.

Try this version. It relies on Time Triggers to turn the switch on/off (instead of using delay).

alias: Gartenbewässerung
description: ""
trigger:
  - id: 'on'
    platform: time
    at:
      - "01:50:00"
      - "02:50:00"
      - "03:50:00"
      - "04:50:00"
      - "05:50:00"
      - "06:50:00"
  - id: 'off'
    platform: time
    at:
      - "02:40:00"
      - "03:40:00"
      - "04:40:00"
      - "05:40:00"
      - "06:40:00"
      - "07:40:00"
condition: []
action:
  - service: 'switch.turn_{{ trigger.id }}'
    data: {}
    target:
      entity_id: switch.weihnachtsbeleuchtung
  - condition: template
    value_template: '{{ now().hour == 7 }}'
  - service: notify.mobile_app_bernhards_iphone
    data:
      message: Bewässerungszyklus beendet
  - service: notify.alexa_media
    data:
      message: Der Bewässerungszyklus wurde erfolgreich beendet!
      target:
        - media_player.wohnzimmer
        - media_player.kuche
      data:
        type: announce
  - service: notify.mobile_app_elisabeths_iphone
    data:
      message: Bewässerungszyklus beendet
mode: single

Thanks for the Tip! I’ll give that a go