1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Fix update-all input in dashboard (#826)

Fixes https://github.com/esphome/issues/issues/798
This commit is contained in:
Otto Winter
2019-11-02 19:35:55 +01:00
committed by GitHub
parent 66aa02fc34
commit 65d3dc9cb8

View File

@@ -371,7 +371,8 @@ def command_update_all(args):
print("Updating {}".format(color('cyan', f)))
print('-' * twidth)
print()
rc = run_external_process('esphome', '--dashboard', f, 'run', '--no-logs')
rc = run_external_process('esphome', '--dashboard', f, 'run', '--no-logs', '--upload-port',
'OTA')
if rc == 0:
print_bar("[{}] {}".format(color('bold_green', 'SUCCESS'), f))
success[f] = True