You can do it either way if you only have one entry, but you must use the hyphen (list) form if there is more than one entry (e.g. using esphome and http_request). All of my configs have the hyphen for consistency and are working fine.
ota:
- platform: esphome
password: "xxx"
is equivalent to {"ota":[{"platform":"esphome","password":"xxx"}]} (with a list), whereas:
ota:
platform: esphome
password: "xxx"
is equivalent to {"ota":{"platform":"esphome","password":"xxx"}} (without a list).
I only use release branch from my entire HA instance and I still encountered this exact error when attempting to OTA an ESPHome device (that always updated successfully before). My ESPHome version: 2024.6.1.
Yes, I see the note there now, but for future folks reading that solution: EVERYONE needs to make this manual change in their ESPHome config now… No relation to dev branch at this point.
Why must we always break things like this If it was the default previously why is it now all of a sudden not good enough to be the default… Great way to alienate your install base.
(oh, I had even installed this from the Bluetooth Proxy uploader, wasn’t even config I wrote myself…)
I started this thread because I mistakenly used the dev container and I still see notifications. So if you are having this problem, read the release note or thread posted here.
I agree. This is the reason I can’t leave the house to my wife when I die. I have to make sure it burns down with me. She wouldn’t even know about the Home Assistant forums.