More or less. It seems like HA gets its list of Z-Wave devices from the connected hub, but that there is a bit of caching somewhere, though I haven’t spent any time yet to figure out where.
Here’s what I do now to get rid of a device:
- Perform a “Remove Failed Node” through HA itself.
- Completely power down HA and the Z-Wave hub itself. I’m running Hass.io on an RPi so I turn it off and on again.
I managed to get that working with a “dead node” on the first try, but previously I was removing the failed node and restarting HA itself. Apparently, just restarting HA is not enough. Everything needs to go cold first.
That said, the entity_id that I gave the device is “remembered” by HA so, even though it no longer shows the Z-Wave device, if I try to give any device that same name, it will complain that it’s still in use.