Clear Notification doesn't work well

Hello Community.
My English isn’t so good, but i try my best :smiley:

I want to remove a Notification on my iphone and on my Girlfriends iPhone.
Sometimes it Works, sometimes not, No Matter which Mode i use for the Automation…
Here is the Code:

alias: Fenster Wohnzimmer Geöffnet / Geschlossen mit Notify Löschen
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.wohnzimmer_fenstersensor_contact
    id: Wohnzimmer Fenster Offen
    from: "off"
    to: "on"
    for:
      hours: 0
      minutes: 0
      seconds: 3
  - platform: state
    entity_id:
      - binary_sensor.wohnzimmer_fenstersensor_contact
    id: Wohnzimmer Fenster Geschlossen
    from: "on"
    to: "off"
    for:
      hours: 0
      minutes: 0
      seconds: 3
  - platform: state
    entity_id:
      - binary_sensor.wohnzimmer_fenstersensor_contact
    id: Wohnzimmer Fenster Offen / 10 Min
    to: "on"
    for:
      hours: 0
      minutes: 10
      seconds: 0
    from: "off"
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - Wohnzimmer Fenster Offen
        sequence:
          - metadata: {}
            data:
              title: Fenster Offen
              message: >-
                Das Wohnzimmer Fenster wurde Geöffnet. Die Luftfeuchtigkeit
                beträgt {{ states('sensor.wohnzimmer_hygrometer_humidity') }}%.
              data:
                tag: fensterwz
            action: notify.mobile_app_iphone_von_florian
      - conditions:
          - condition: trigger
            id:
              - Wohnzimmer Fenster Geschlossen
        sequence:
          - data:
              message: clear_notification
              data:
                tag: fensterwz
            action: notify.mobile_app_iphone_von_florian
          - delay:
              hours: 0
              minutes: 0
              seconds: 2
              milliseconds: 0
          - data:
              message: clear_notification
              data:
                tag: fensterwzmin
            action: notify.mobile_app_iphone_von_florian
          - delay:
              hours: 0
              minutes: 0
              seconds: 2
              milliseconds: 0
          - data:
              message: clear_notification
              data:
                tag: fensterwzmin
            action: notify.mobile_app_iphone_von_jacqueline
      - conditions:
          - condition: trigger
            id:
              - Wohnzimmer Fenster Offen / 10 Min
        sequence:
          - metadata: {}
            data:
              title: Fenster Offen
              message: Das Wohnzimmer Fenster ist länger als 10 Minuten geöffnet.
              data:
                tag: fensterwzmin
            action: notify.mobile_app_iphone_von_florian
          - delay:
              hours: 0
              minutes: 0
              seconds: 1
              milliseconds: 0
          - metadata: {}
            data:
              title: Fenster Offen
              message: Das Wohnzimmer Fenster ist länger als 10 Minuten geöffnet.
              data:
                tag: fensterwzmin
            action: notify.mobile_app_iphone_von_jacqueline
mode: restart

Can somebody Help me to fix this issue? Or is it an Apple Problem?!

Thanks a Lot!!!