Delete individual device from integration

Thanks Timo, to be sure, I have first to stop HA with

hassio ha stop

then modify carefully the file core.device_registry and restart, right?

@chris669

As far as I remember yes. But keep a Backup of core.device_registry!

When I do this, I have to copy the core.device_registry, edit it and then stop HA, copy over the existing quickly as HA autostarts after a few seconds after being stopped. Can this autostart be prevented?

For me it doesn’t autostart, I have to launch

hassio ha start

OK thanks, I’ll make a new post asking why this happens

Just one point, discovered now, in Configuration…Entity Registry, there is a DELETE button in red. Will not this simply delete the entity?

entitydelete

1 Like

Yes it will. This topic is well out of date.

For mqtt devices you still have to delete any retained discovery config messages from the broker but deleting the entity there does what my original feature request asked for.

2 Likes

thanks @tom_l , can i check as a solution for future newbies like I am?

You can delete entities. But we still lack a way to delete devices from many integrations. You still need to hack json files to do that. Deleting the entity does not delete the device in many cases

4 Likes

Kenneth,
I would agree, I have one unknown node that just will not die (so that’s still z-wave) but Tom’s OP covers a lot more than that.
And if Tom can’t delete stuff, what chance do the rest of us have? :crazy_face:
Cheers

I have been moving entities from my Wink Hub over to my Zwave stick lately. Got one entity that is still showing up in the states list but not in the entity registry. Not a big deal but it would be nice to remove it.

1 Like

copy that, thanks for the info.

Hmm, for zwave devices not even deleting the entity works for me. I get a message that that is not possible for the zwave integration (tells me to deactivate the whole integration ^^)!

I hope this is gonna change with some new versions as they are actively working on the whole devices/entities stuff recently.

That’s needed!

Just trying hard to get finally rid of my mqtt (20 years should be enough… technology from 1999 R.I.P) and it’s just not possible to do it one by one… all or none?.. :pensive:

It deletes the entity but it will still show in integrations!

1 Like

ok, so still waiting for THE solution :slight_smile:

3 Likes

I can delete the Entity, but the device will still be in the list. And I can not delete the device. On the screenshot Ihave deleted 4 entitys.


In the setting button I can only edit the name and area.

/config/.storage/core.device_registry
/config/.storage/core.entity_registry

find you dev id in address browser

3 Likes

This worked for me. I used Configuration->Integrations->OwnTracks and clicked the “dead” devices and copied the device id from the browser URL as shown into the clipboard, then went to the Configurator panel (you have to have the Configurator plugin for it to show), browsed to the core.device_registry file, searched for the device Id I copied, and deleted the entire section that belong to that id. Restarted HASS and they were gone from integrations.

4 Likes

Would be nice to do it from UI.

2 Likes