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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -371,7 +371,8 @@ def command_update_all(args):
print("Updating {}".format(color('cyan', f))) print("Updating {}".format(color('cyan', f)))
print('-' * twidth) print('-' * twidth)
print() 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: if rc == 0:
print_bar("[{}] {}".format(color('bold_green', 'SUCCESS'), f)) print_bar("[{}] {}".format(color('bold_green', 'SUCCESS'), f))
success[f] = True success[f] = True