How I delete a node from HA and start over.
-
If you're here, I'm not going to preach to the choir about HA's arcane ways. This works for me
- Stop mysgw
- Using MQTT Explorer, remove from the topics mysensors_out and mysensors_in all vestiges of the node that is to be deleted
- In Home Assistant (HA) delete the device
-
- Settings
-
- Devices and Services
-
- Under MySensor, click on n Devices
-
- Click on the device you want to delete.
-
- Click DELETE
-
-
- One can use use Studio Code Server to note that the device has been deleted
-
-
- IMPORTANT! reboot Home Assistant
- While HA is rebooting, make the changes to the code of your device
- When you are satisfied with the changes and after HA has completely rebooted, disconnect your device from power.
- Start mysgw
- Apply power to your device