Skip to content

Commit

Permalink
OTA - Add esphome platform added in 2024.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Jul 26, 2024
1 parent 5b4c64f commit 743b03e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion upk2esphome/parts/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ def generate(yr: YamlResult, config: ConfigData, opts: Opts):
yr.data["mdns"] = {}
if opts.common:
yr.data["api"] = {"password": opts.api_password}
yr.data["ota"] = {"password": opts.ota_password}
yr.data["ota"] = {
"platform": "esphome",
"password": opts.ota_password
}
yr.data["wifi"] = {
"ssid": opts.wifi_ssid,
"password": opts.wifi_password,
Expand Down

0 comments on commit 743b03e

Please sign in to comment.