Delete devices

I’ve been playing around with a bunch of Tasmoto devices that i’ve borrowed from friends etc and as a result, I now have many auto-discovered ‘devices’ listed in the config->integration->devices screen.
How can I remove the devices that I no longer own? From what I can tell, I have to send a retained blank message to

But I don’t know that topic to send the messages to. It would be useful if each device, when clicked, could then be deleted since homeassistant probably knows the topic that needs clearing.

Use this: to explore the topics and delete the retained config messages.

This doesn’t remove already added devices for me. Did I miss something?

You have to delete the integration as well (after deleting the retained mqtt messages).