mirror of
https://github.com/esphome/esphome.git
synced 2025-10-20 18:53:47 +01:00
[ota.esphome] Handle blank password the same as no password defined (#11271)
This commit is contained in:
@@ -606,7 +606,7 @@ def upload_program(
|
||||
from esphome import espota2
|
||||
|
||||
remote_port = int(ota_conf[CONF_PORT])
|
||||
password = ota_conf.get(CONF_PASSWORD, "")
|
||||
password = ota_conf.get(CONF_PASSWORD)
|
||||
if getattr(args, "file", None) is not None:
|
||||
binary = Path(args.file)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user