mirror of
https://github.com/esphome/esphome.git
synced 2025-09-27 07:32:22 +01:00
Separate OTABackend
from OTA component (#6459)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -153,10 +153,11 @@ def wizard_file(**kwargs):
|
||||
|
||||
# Configure OTA
|
||||
config += "\nota:\n"
|
||||
config += " - platform: esphome\n"
|
||||
if "ota_password" in kwargs:
|
||||
config += f" password: \"{kwargs['ota_password']}\""
|
||||
config += f" password: \"{kwargs['ota_password']}\""
|
||||
elif "password" in kwargs:
|
||||
config += f" password: \"{kwargs['password']}\""
|
||||
config += f" password: \"{kwargs['password']}\""
|
||||
|
||||
# Configuring wifi
|
||||
config += "\n\nwifi:\n"
|
||||
|
Reference in New Issue
Block a user