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
parent 2d70422a6f
commit 603f82977e
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

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