Unable to automatically dismiss (tagged) notifications generated by the 'Alert' component, but it works with regular service calls

Title.

I have some alerts set up like so:

  dev_dryer_done:
    name: The Dryer is done
    entity_id: input_boolean.dev_dryer_done
    title: "The Dryer is Done"
    message: "Empty it!"
    state: 'on'
    repeat: 30
    skip_first: 'false'
    notifiers:
      - mobile_app_pixel_3
      - chrome
    data:
      tag: alert_dev_dryer_done
      channel: low_priority
      actions:
      - action: android_dryer_20
        title: 20 min Later
      - action: android_dryer_40
        title: 40 min Later
      data:
        sticky: 'true'

When the dryer is finished, the input_boolean is triggered and I get a notification to the android app. Excellent. It’s tagged alert_dev_dryer_done (or at least I think it is - more on that below)

I am trying to set up some automations to dismiss these kinds of notifications - so if I open the dryer, which has a door sensor on it, HA turns off the input_boolean and also sends a clear_notification message with the accompanying tag so that it clears the notification I obviously don’t need anymore. When I try to do a service call doing just that, I’ve formatted my json like this:

{
    "message": "clear_notification",
    "data": {
        "tag": "alert_dev_dryer_done"
    }
}

But when I do that, the notification generated through the alert component isn’t dismissed.

If I create that same ‘dryer done’ notification directly with a service call (i.e. not using the alert component, see below) my clear_notification call above works fine. It’s only when the alert component creates the initial notification that things seem to go pear shaped.

{
    "message": "Empty it.",
    "title": "Dryer is Done!",
    "data": {
        "actions": [
            {
                "action": "android_bri_dryer_20",
                "title": "20 min Later"
            },
            {
                "action": "android_bri_dryer_40",
                "title": "40 min Later"
            }
        ],
        "tag": "alert_dev_dryer_done",
        "data": {
            "sticky": "true"
        }
    }
}

SO! my guess is I’m not properly tagging the notifications with my yaml I copied up at the top, and that’s why the clear_notification message isn’t working - the initial message wasn’t tagged right, so it can’t find anything to clear with that tag.

But all of my experimenting hasn’t found a working way to tag those messages using alerts…