use the cli to get the HomeAssistant and Z-wave nodes
use whatever tool (grep, awk, sed, …) to generate the correct information for the configuration files
My use case is the following:
I have configured Home Assistant a couple of months ago, added and removed nodes and I’d like to do some cleanup in the configuration. Some entities are showing up (and I’d like to hide them) and I’m sure I still have entities in the conf. files that should not be there.
I don’t know why a new file would be created, unless you didn’t keep the same file name. If you are trying to get ride of some nodes, have you tried going through the Configuration > Zwave menu to remove nodes?
I’m doomed… the backup I thought I had actually does not have the missing node…
I believe my only option is now:
exclude the node from my controller
re-include it
I should probably do it directly on the controller (Aeotec ZW090 Z-Stick Gen5 EU) since I believe I cannot do it from Home Assistant (ZWave config / Remove Node, since the node does not show up)
You want to get away from removing the zwave controller and pressing the button to add devices. This is especially critical with zwave-plus devices if you want to add them in secure mode (this is required for some devices such as locks). Instead, use the zwave network managment menus under Configuration to add nodes.