Ok. I understand. Since I have a lot of orphaned devices I really would appreciate if the develops would implement deletion correctly for all integrations…
Is there a way to suggest such kind of generic features?
Can someone please explain how to get to this file? I’m new at Home Assistant and haven’t been able to figure out how to edit this file yet. Do I do it though the UI? If so, how exactly? I have the file editor installed, but haven’t been able to figure out how to do it that way either because I don’t see a config folder. Thanks for any help.
I came across this thread while trying to figure out how to delete/remove my old cell phone throughout all of HA and the many various integrations it was implemented within just to find that this capability apparently does not exist. Is this accurate, is there no way to accomplish deletion/removal of a mobile cell phone throughout all of HA?
@srosendahl@nightfever, you can delete the device from the Integrations tab next to devices. There should be an integration with “[Your Device Name] - Mobile App”. A bit confusing to search for it there, but deleting it removes the orphaned device and frees the name again.
On my Configurations → Devices & Services → Integrations page, I have several devices (iPhones and iPads) within the Mobile App integration, so it shows as this screen shot.
So then if I select one of those devices, say sriph13promax, and then click on the three dots to pull up the Menu, I then see the Delete option for that specific iPhone named “sriph13promax”.
However, the specific iPhone named “sriphxsmax” is an old iPhone that I no longer have and is the one that I’ve attempted to remove throughout HA.
I still see this device listed via Configurations → Devices & Services → Devices followed by a search for “sriphxsmax” as shown in this next screen shot.
It doesn’t seem to matter if I disable or enable the device, I’ve not been able to figure out how to actually remove this and other orphaned entries through HA.
Oh, so sou see the devices for all of your current Mobile App logins but not for the orphaned one?
Then something seems to have gone wrong, I was able to see an old phone I didn’t use for over two years there and was able to delete it.
This is the usual way, but if that’s not possible in your case I guess only editing the db manually remains. Afterwards, it should work that way, though!
Right, it indeed is not part of the Mobile App, but is part of the UniFi Network integration.
I cannot delete it from there either? I’ve disabled the device, but still no options to delete it. I’ve gone into my UniFi controller and searched for the device name, it’s no where to be found there.
I just couldn’t find a way to delete several outdated entities without manually editing the core config files in .storage, which is a royal pain. So… I wrote a python script to track down all the dependent devices, entities, and config entries and rewrite the core.* files for me. I cannot guarantee that it is correct, but it worked well for me and I’m willing to share it with anybody who asks (DM, please).