Unable to clear notifications

Hi everyone,

I am trying to clear iOS notifications using the (for iOS) new ‘clear_notification’. However, it just don’t seem to work. I have created two minimal scripts for testing purposes. The first does send a notification, the first should clear it but it does not.

These are the testing scripts:

notify_send:
  sequence: 
    - service: notify.iedereen
      data:
        title: Test title
        message: >-
          This is a test. It should be cleared soon.
        data:
          tag: "ha-test"

notify_retract:
  sequence: 
    - service: notify.iedereen
      data:
        message: "clear_notification"
        data:
          tag: "ha-test"

I am using HA core-2021.5.5, the iOS app version 2021.5 (latest) on iOS 14.5.1. Note I am sending the messages to both my phone and my wife’s, using a group. Don’t worry, I have tested it with only my phone too, with the same result.

Can anyone tell me why I can’t clear a message using clear_notification?

Is there anyone who can help me? Or should I go straight to bug control?

Fixed in 2021.8.

Thanks everyone.

Hi @misterdaan

Is notification clearing working for you reliably on iOS? I can’t get it to work.

Thank you