Z-wave devices not fully deleted when excluded using Z-wave JS

I have seen several topics similar to this, but no clear resolution.

A while ago I purchased a Leviton ZW4SF Z-wave 4-speed fan switch, but had a real difficult time including it (had to enter a 100-digit number to get ‘something’). The included device gave me on/off ability, but could not control the fan speed.

Recently (after many software updates) I excluded then re-included the switch (using a different name), and this time the ‘normal’ inclusion process worked as other devices I have added. However, somehow the newly-created device ‘inherited’ the information from the old device that was (supposedly) deleted. Even the old names were applied. Worst of all, the desired entities for controlling fan speed were not created (although other people I know have these entities in their HA instance).

I have searched all devices and entities within Home Assistant, and cannot find any of those old items after I excluded the device.

Is there a place I can go (once I exclude this device again) to delete the “old” stuff, so that a re-inclusion will not inherit any of the old information?

If not, is my only recourse to purchase another ceiling fan switch and “hope” that nothing old gets inherited?

Thanks.

The truth is in the .storage directory. That’s where to look.

The unique ids linking the HA entities to zwave entities use the node id. Does the new device have a different node id? If not, then yes it may reenable the deleted entities.

It’s also possible you are seeing ghosts stuck in caches. Flush the browser and app caches.

Thanks, Pete. Now allí need to do is figure out how to log into my Raspberry Pi OS (again) - it’s been a few years since I’ve needed to do so! :grimacing: I’ve been using Samba share to get to the HA files, so I haven’t needed anything else.

Much appreciated, I’ll give it a try and take a look.