Reset z-wave device and question about entity discovery

plugin: 4.1.0
zwave-js-ui: 10.2.0
zwave-js: 15.0.6

I have what appears to be a failing device, and Zooz has recommended resetting the Zen15.

  1. Am I correct I should first exclude the device? Otherwise when it is included after being reset I’ll still have the previous node which will now be “dead” and need to be removed as a dead node?

  2. How do I make sure that when the device is included again that the same entity names are used? Is it based off the device’s name used in the ZUI provisioning table?

  3. Or, is there a process to avoid the _2 entity names? Is z-wave node ID used by HA in determining if it’s a new node? (I’m trying to preserve history, of course.)

  4. In ZUI how is Replace node different than exclude and then include? Does it retain the same node ID? And how does that impact what Home Assistant sees?

Thanks.

I had an extra device lying around so I was able to test and confirm the following.

  1. Whenever you exclude or reset a device the node ID of that device will automatically be removed from the Z-Wave device list. This can be good or bad depending on what you are trying to accomplish. Your entity names will also get deleted.
  2. If you want the new device to have the same entity names you simply give it the same name. The name used in the provisioning list or the manage nodes window is what will be assigned to the device.
  3. As long as you don’t have a device with with the same name you shouldn’t get any _2 entity names
  4. Yes when you perform a replace node it keeps the same node id as well as all your entities and other information. I
  5. When you setup your automations you have a choice between using entity ids or device ids. The reason you would use the device id is because some things are easier to automate using the device. The problem is that even if you give a device the same name the device id will change which will break your automations.
  6. Before you make changes to your network I recommend you make a nvm backup as well as a HA backup. That way if something happens you can always revert back.