Removing item from ZHA doesn't fully remove it

If i remove a zigbee device connected via ZHA, the device is gone, its entities are gone, it looks gone.

However, in this particular case, I deleted the device, only to want to re-use it several weeks later. I re-paired it with ZHA again, and it immediately picked up its original device and entity names from somewhere ?

How long does HA hold onto deleted device info like this ?

forever i suppose, i use it as feature as sometimes zigbee devices drop of the network.
This way just re-pairing them , get them back wihtout issues.

The way to fix it , is to edit the entity id or remove it from ‘core.device_registry’ file

1 Like

I think a reboot should do it (rather than a restart).

It simply states on the ZHA page how to permanently remove it.
Zigbee Home Automation - Home Assistant