Skip to content

Commit

Permalink
OTA - Add esphome platform added in 2024.6.0 (#14)
Browse files Browse the repository at this point in the history
* OTA - Add esphome platform added in 2024.6.0

* Formatting update.
  • Loading branch information
Cossid authored Sep 29, 2024
1 parent 5b4c64f commit aec4531
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 aec4531

Please sign in to comment.