Breaking change in ESPHome 2024.6.0 ota component
Breaking change in ESPHome 2024.6.0 ota component
I missed it in the release notes, but there's a breaking change in the ota
component in ESPHome 2024.6.0. I figured I'd save folks some time and share the fix here.
If your OTA config looks like this;
...
ota:
password: "*************"
num_tries: 3
safe_mode: on
...
Now you'll need to add a platform
key to start a list, and either comment out the other option or move them to a new component.
...
ota:
- platform: esphome
password: "*************"
#num_tries: 3
#safe_mode: on
...
edit: Here's the PR introducing this change https://github.com/esphome/esphome/pull/6459
The hero we need.
5 0 ReplyFunnily enough I was just about to upgrade devices, thanks for this!
4 0 ReplyYou have a typo:platform: esphome
.Thanks for posting, good catch!
4 0 ReplyOops! Good eyes, and thanks! Typing yaml on mobile is squinty business. Fixed in the main post
5 0 ReplyHeh, typing YAML anywhere is squinty business. :-)
3 0 Reply
Cheers mate - no doubt I would've scratched my head for a bit when I do my weekly container updates tomorrow.
2 0 ReplyThanks for posting this!
2 0 ReplyYeah this solve it. I didn’t got any release notes from the Home Assistant EPSHome update tho.
2 0 ReplySeems It was actually 2024.6.1 that introduced the change. Not sure where in this release notes it said it was a breaking change, butI'm all turned around. I updated the main post with the link to the PR and I had the right version from the get-go.
2 0 Reply