this post was submitted on 20 Jun 2024
3 points (100.0% liked)

homeassistant

12072 readers
3 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. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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 4 comments
sorted by: hot top controversial new old
[–] ikidd@lemmy.world 1 points 4 months ago

The hero we need.

[–] CameronDev@programming.dev 0 points 4 months ago* (last edited 4 months ago) (1 children)

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

Thanks for posting, good catch!

[–] solidgrue@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (1 children)

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

[–] ScottE@lemm.ee 1 points 4 months ago

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