50
submitted 1 year ago* (last edited 1 year ago) by solidgrue@lemmy.world to c/homeassistant@lemmy.world

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

top 9 comments
sorted by: hot top controversial new old
[-] ikidd@lemmy.world 5 points 1 year ago

The hero we need.

[-] CameronDev@programming.dev 4 points 1 year ago* (last edited 1 year ago)

~~You have a typo: platform: esphome.~~

Thanks for posting, good catch!

[-] solidgrue@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

Oops! Good eyes, and thanks! Typing yaml on mobile is squinty business. Fixed in the main post

[-] ScottE@lemm.ee 3 points 1 year ago

Heh, typing YAML anywhere is squinty business. :⁠-⁠)

[-] alchemy88@lemmy.team 4 points 1 year ago

Funnily enough I was just about to upgrade devices, thanks for this!

[-] walden@sub.wetshaving.social 2 points 1 year ago

Thanks for posting this!

[-] MNLFNUT8YG@lemmy.world 2 points 1 year ago

Yeah this solve it. I didn’t got any release notes from the Home Assistant EPSHome update tho.

[-] solidgrue@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

~~Seems It was actually 2024.6.1 that introduced the change. Not sure where in this release notes it said it was a breaking change, but~~

I'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.

[-] DeltaTangoLima@reddrefuge.com 2 points 1 year ago

Cheers mate - no doubt I would've scratched my head for a bit when I do my weekly container updates tomorrow.

this post was submitted on 20 Jun 2024
50 points (96.3% liked)

homeassistant

15197 readers
5 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS