Notifications created by notify.persistent_notification can't be dismissed programmatically as they lack a notification_id
See original GitHub issueThe problem
The notification platform notify.persistent_notification doesn’t accept notification_id similar to how the service persistent_notification.create does. This means that you can not dismiss specific notifications reliably or at all via persistent_notification.dismiss which accepts a notification_id in order to know which notification to dismiss.
It also appears that no documentation was added for notify.persistent_notification.
In particular, I need this feature because I’m trying to use notify.persistent_notification with alert’s.
What version of Home Assistant Core has the issue?
core-2022.3.7
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Persistent Notification
Link to integration documentation on our website
https://www.home-assistant.io/integrations/persistent_notification/
Anything in the logs that might be useful for us?
When attempting to call the services with a notification_id:
Failed to call service notify.persistent_notification. extra keys not allowed @ data['notification_id']. Got None
Additional information
A relevant PR is https://github.com/home-assistant/core/pull/40638.
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:12 (4 by maintainers)

Top Related StackOverflow Question
Yeah, it never got reviewed, because I had left it in draft pending writing documentation. Then I was busy for a while, including being on vacation, and it managed to get closed. I’ve done the documentation, and recreated the Pull request as #74822 now, this time not as a draft, so it should be ok this time.
Thanks @KevinCathcart. Is there anything we can do to get more visibility on this? A few releases have come and gone and it’s been disappointing not having this. Maybe I can create a WTH on the forum as to why this PR hasn’t been merged 😃