How do I undiscover a device?

I created then after some experimenting, deleted an ESPHome device.
But in the interim, Home Assistant discovered it.

But, as I said, the device no longer exists. How can I undiscover it to dismiss this notification?