mirror of
https://github.com/esphome/esphome.git
synced 2024-11-16 10:45:48 +01:00
Update wizard.py
This commit is contained in:
parent
91198556f6
commit
a067693774
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user