I very rarely update ESPHome devices. I think the last update I did on any of them before now was over 9 months ago. I just recently updated everything to the latest version.
What I do is validate the code before installing the updated firmware on the device. That will (should…?) give you an error if there is a problem. Then you know to look at the thing that the error points you to.
At least that’s what has historically worked for me and that’s what worked for me this time as well. It caught the OTA change and the one-wire config changes.
I checked the updated docs for those, fixed it and then it updated fine.
That and keep your eyes open in the forums as well since those kinds of things usually get some air time here as well. As this one did.
I just installed the ESPHome legacy add-on (version 2024.5.5) and the old devices can still be edited if needed as they are. If I need to update them I move them to the new code.
i got the same problem, i have two dallas sensor to GPIO4 , before update i was able to find the address to both sensor, now i can find the address only for one sensor, does anyone have an ideea why?
Thank you. This code snippet is exactly what’s needed in the release notes. Or, as you mentioned, if the change is easy and programmable (as this is), an automation or upgrade script could change all files during the upgrade.