Removing Old ZWave Integration Entities

Hello,

I had to buy a new Zwave controller and therefor completely reset my Zwave network. After factory resetting every node and reconnecting them to the new controller, Home Assistant is showing some miss placed zwave entities.

I have tried removing home-assistant_v2.db, options.xml, pyozw.sqlite and zwcfg_*.xml but they still show under the wrong devices.

Everything looks correct “Z-Wave Network Management” for each node. This issue is causing a lot of problems for my configurations. Does anyone know how to remove the bad entities?

Did you try configuration->Entity Registry?

1 Like

Well that’s embarrassing. Thank you for your help!

1 Like

If you have lots of old entries, you can also edit config/.storage/core.entity_registry directly and restart Hass. Just back it up first and be careful about what you’re deleting.

3 Likes

I did have a bunch. I will keep this in-mind next time. Thanks!

Just remember if you do edit a .storage file that you have to stop Home Assistant first and be very careful not to screw up the JSON format. That’s why it’s not recommended.

I’m in this same boat here. If I accidentally delete an entity on the “current” version of the sensor/entity will that repopulate or will I have to re-add it again?

I only have 5 devices, but this being new, I’ve added them, renamed them, added again, and such a few times and have a mess of badges and screen entities to work through.

Just wondering how paranoid I need to be. Thanks.

Thank you! Had a failed node that was removed from the Z-Wave config, but was still showing up on the Integrations page. Weird thing was that it didn’t show up anywhere else, not the entities page or the states page. Ended up renaming it to “Delete me” and found it in the core.entity_registry file, where I deleted it and then rebooted HA. Then, it was finally gone from the Integrations screen.

Something similar happened to me recently. It seemed than an Aeotec Smart Switch 6 sort of half included. I think I was simply too far away from the controller when I did the inclusion. What I was left with was the parent device and no child entities. I renamed it to Remove Me and was able to track it down to the core.device_registry file. I also had to reboot HA for it to disappear for good.

I don’t see this option. Can you elaborate a bit?