I have an esp32 that I repurposed. When I edit/install with ESPHome Builder, it works fine. But, when I cycle power, the esp32 reverts to the previous configuration. I think the new install is going to volatile memory and the old configuration is in static.
Any suggestions on how to fix this? Use esptool to wipe memory?
Which yaml would you like to see? Both compiled, installed, uploaded and worked.
I used web.esphome.io to prepare for first use. Then used HA/esphome device builder to edit and make. No errors The new one works until I power cycle. Then the old one works until I re-install.
If you have 2 yaml then show both. We are all only guessing what you have done.
So it looks like you used serial to load first time then OTA for all other flashes?
I have one device that uses URT for a sensor and I have to set the logger to baud rate 0. If I flash OTA it appears to work when first flashed but later the new changes to yaml haven’t taken. Only works if I flash that device by serial.