Actionable notifications are documented here: Actionable Notifications | Home Assistant Companion Docs
I have an alert for when my front door is unlocked. It also has a done_message so I know that the front door was locked. I added an action to lock the door, but the action shows both in the “message” that the door is unlocked, as well as the “done_message” that the door is locked.
It doesn’t look like there’s a way to configure things so that you don’t get an action on done_message.
Maybe a field like “when” could be added to action so you can filter on initial or done message?
See also Alert notification actions