How to remove MQTT devices and entities

How can I remove all of them? The REMOVE SELECTED button doesn’t work. Those devices no longer exist.


Publish a blank retained payload to the discovery topic or use MQTT Explorer to delete the discovery topic.

1 Like

I’ve already deleted those topics using MQTT Explorer. It doesn’t work.

Did you try restarting Home Assistant after deleting the topics?

Yes, still doesn’t work.

If you click on one of the devices (your top image) do you have the MQTT INFO button and 3 dots ? If so you can delete from there

3 Likes

Looks like you have to delete the entries from “core.device_registry” and “core.entity_registry” in “\YOURHASSIP\config.storage” manually for some unknown reason. Have the same Problem with a zigbbee2mqtt device too. Deleted via MQTTExplorer, but they are still there.

Thank you for your advice! When solving this problem I found many complicated solutions, but only yours is simple and effective!