mhendriks / esphome-p1

21 stars 14 forks source link

'ota' requires a 'platform' key but it was not specified. #12

Closed ewoutdenheijer closed 2 months ago

ewoutdenheijer commented 3 months ago

As of esphome 2024.6.0 the following error is raised when attempting ota using waterlezer.yaml:

'ota' requires a 'platform' key but it was not specified.

mhendriks commented 3 months ago

I think it is because of this: https://esphome.io/changelog/2024.6.0.html#ota-platforms

Made some changes ... new version is available in Github.

Robby-Swartenbroekx commented 3 months ago

It's probably a "me" issue, but I still get those errors. What are the correct steps to fix this? This is the error I get when I try to install. image

mhendriks commented 3 months ago

@Robby-Swartenbroekx the new configuration will only work on the latest 24.6.x version of ESPHome. You are using 24.5.5.

The error mentioning the modifications for the 24.6.x version.

Robby-Swartenbroekx commented 3 months ago

I was afraid to update due to that error. but like you said, upgrade and it will work flawless afterwards. just needed that push to do the update because of this red text :-).