I have been using Tasmota on my sonoff switches and nodemcu but thought I would give Espurna a go, as soon as I set it up it auto discovered and put a switch in my switch panel. I have decided to stick with Tasmota and reflashed the nodemcu but the espurna switch is still there as unavailable have looked in all the yaml files for any mention of the mac of the mcu and deleted them restarted HA but it is stil ther as a switch and a badge at the top of the screen
No been through all the yaml files and deleted all entries with the MAC address associated with the node mcu
I have reflashed the nodemcu with code to use as a car presence node and the Mac comes up in known devices but still can’t find any entry for ESPURNA_0C8E50
Ok, I’ve found a method to cleanup old, inactive topics. Apologies if this is rudimentary.
From the Developer services in HA, call the mqtt.publish service and send a zero byte payload to the topic you want to clear. You can find a current list of topics from either espyamlhome logging or SSH into HA and type: