mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Add verbose mode for espota
This commit is contained in:
parent
19dfdb77eb
commit
30b94f06b3
@ -208,6 +208,8 @@ def upload_program(config, args, port):
|
||||
espota_args = ['espota.py', '--debug', '--progress', '-i', host,
|
||||
'-p', str(ota.get_port(config)), '-f', bin_file,
|
||||
'-a', ota.get_auth(config), '-P', str(host_port)]
|
||||
if args.verbose:
|
||||
espota_args.append('-d')
|
||||
return espota.main(espota_args)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user