How to display notifications on the Lovelace panel?

I want notifications about the robot vacuum cleaner to be displayed on the vacuum cleaner page.
With pictures. How to do it?

Create custom sensors (that are updated by the notifications) that display what you would prefer. Then, you can show those sensors on that page.

It is not clear at what point the error should be cleared.
And I don’t understand how to make the sensor updated with notifications.
Can you give me some advice?