I’ve got a similar problem. Been playing around with ESPhome and using the same ESP do trial new setups. However because you can’t delete an old device, when you change it to a new one with different capabilities HA still see’s it as the old one. Even the name doesn’t change on the ESPhome integration.
Is there still no way to delete old/unused devices?
Same here… As i’m getting rid of devices connected via the Telldus integration, the ghosts of them are trapped in limbo in HA, unable to reach either heaven or hell.
Any way we can flag this as a bug or issue or something?
Been migrating from Smartthings and have moved all ZigBee devices and several Z-Wave devices.
Thes enot long show in the Smartthings App or at https://graph.api.smartthings.com/device/list but even after “reloading” the Smartthings integration the device never go away from home assistant.
I hate to say it , as a moderate newbie. the oily way I found to delete/get rid of failed Z-wave devices was delete the whole VM and the associated VDI and start anew
I’ve 2 esphome devices: they come with the same name out-of-the-box. So I’ve had trouble devising which one is which and renaming 1 of them using esptool/esphome.
Eventually I came to a point where I had 3 esphome devices in HA: 1 with the original name and 2 with the modified name.
So, I decided to delete 1 of the device with the modified name, found out I couldn’t delete it, went for disabling it. Then, HA told me something like “do you want to disable its configuration instead?”, I clicked OK.
Don’t know what happened exactly, but now, my HA setup has 2 esphome devices: the one with the original name functioning perfectly, and the one with the modified name which is disabled and which I can’t enable again (probably because I should enable its configuration instead of the device, but I can’t figure out yet how to do that…).
I don’t want to delete the whole integration since the original unmodified device works perfectly and I don’t want to lose its historical data.
You can remove them by going into your add-ons =>Z-Wave JS UI or Z-Wave JS
open web ui, then select your product and from action you can choose to remove failed nodes
You can re & re the ESPHome add-on without disrupting the integration setup as its data is stored in HA /config/esphome and remains behind and will reconnect. I had to do this to get the newest version of the ESPHome add-on.
As for buggered/duplicate devices, I’ve removed both the old & new devices from ESPHome integration and then restarted HA to trigger ESPHome re-discovery. I’ve also renamed yaml files as I wanted to change from " _ _ " style names to " - - ". As for historical data, I suspect that if the new device entity matches the history entity it will be there. Not sure though…
Dunno if you guys noticed it yet, but it seems you can delete a device from an integration in HA (I just tested with HACS SONOFF) by clicking on the hamburger in Device Info.
WARNING: THIS IS LIKE BRAIN SURGERY - Screw things up, YMMW, kaboom, etc
had the same problem, no good answers to be found. RTL_433 project, combined with no filters, had 4700 entires in my devices file I didn’t want. Removed the integration, devices stayed.
Found the core.device_registry in .storage, realized it was in a format JQ should be able to handle, and puttered around till I found a solution that worked.
copy your file to a save spot to work on it, like /root then
I too just figured this out. It was a lot simpler than I was making it and can be done within the UI.
I had a device from an integration I believed to be misconfigured and wanted to delete/re-add it to start fresh. Removing the integration was not an option for me and frankly, should never be an option given the amount of devices I have set up. I struggled to find the “Delete” button but it exists.
Here we go:
Settings > Devices and Services > Click the name of the integration providing your device > Click the hamburger menu (3 dots) to the right of device you want to delete > Press Delete > Confirm Delete
They really should add the button/ability to delete devices from more places in the UI where it would seem intuitive. Namely, the Devices list.
Are you sure about that?
I just tried following those steps to do it with the DeConz integration, but they didn’t amount to anything as the option to delete a single item wasn’t there in the first place.
Would you mind getting some screenshots of what you’re doing as it might be on a “integration by integration” basis and might not work with all of them (Deconz included)?
Thanks.