[ota.esphome] Handle blank password the same as no password defined (#11271)
This commit is contained in:
5 files changed
+22
-18
No files matched your search
+1
-1
@@ -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