Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


#315193 21-Jun-2024 08:44
Send private message

After the last Home Assistant update, I cant update my 3 smart switches that use ESPHome.

 

The error I get is as follows,

 

"Failed config At least one platform must be specified for 'ota'; add 'platform: esphome' for original OTA functionality"

 

but I have no idea where I am supposed to add that line.

 

Can someone point me to where I need to make that change?

 

Thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

shanes
272 posts

Ultimate Geek
+1 received by user: 84

Lifetime subscriber

  #3251476 21-Jun-2024 09:38
Send private message

You need to edit the yaml file for each of the devices.

 

I had the same issue, I created a new "Test" device to help see the syntax changes.

 

Here is the changes I had to make yours, may be a little different.

 

Original code (just the bits that changed)

 

esphome:
  name: brilliant-smartplug-1
  platform: ESP8266
  board: esp01_1m
ota:

 

 

 

changes to

 

esphome:
  name: brilliant-smartplug-1
esp8266:
  board: esp01_1m
ota:
  - platform: esphome

 

 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.