Open SGXander opened 2 months ago
Add:
ota:
- platform: http_request
id: ota_http_request
http_request:
Resolved.
If you have platform: esphome for ota, you must have "-" before platform
e.g. Change from ota: platform: esphome password: xxxxxx to ota:
When esphome introduce "platform: esphome", I have followed the guideline to use "-" as day1. However, after one or two version upgraded, I failed to install with "- platform: esphome". Many people ask to add "platform: esphome" without "-". It really solved the issue when I removed "-". Now, in version 2024.6.6, it requests "-" again.
Resolved.
If you have platform: esphome for ota, you must have "-" before platform
e.g. Change from ota: platform: esphome password: xxxxxx to ota:
- platform: esphome password: xxxxxx
When esphome introduce "platform: esphome", I have followed the guideline to use "-" as day1. However, after one or two version upgraded, I failed to install with "- platform: esphome". Many people ask to add "platform: esphome" without "-". It really solved the issue when I removed "-". Now, in version 2024.6.6, it requests "-" again.
It'd be clearer if you used a code block in your explanation.
Do you mean something like this?:
ota:
- platform: esphome
password: !secret ota_password
I couldn't follow beginner2047's response but I did exactly what modem7 said and it worked. Thanks!
The problem
Updated ESPHome from 2024.6.3 to 2024.6.6 and two of my 12 devices report the below message when attempting to update. The github version of the config package looks to have the error line requested but "clean build files" fails with the same error. Is there a way to manually clear the cache or force re-download of the package?
Which version of ESPHome has the issue?
2024.6.6
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.6.4
What platform are you using?
ESP32
Board
ESP32-S3-BOX-3
Component causing the issue
ota
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response