mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add verbose mode for espota
This commit is contained in:
		| @@ -208,6 +208,8 @@ def upload_program(config, args, port): | |||||||
|     espota_args = ['espota.py', '--debug', '--progress', '-i', host, |     espota_args = ['espota.py', '--debug', '--progress', '-i', host, | ||||||
|                    '-p', str(ota.get_port(config)), '-f', bin_file, |                    '-p', str(ota.get_port(config)), '-f', bin_file, | ||||||
|                    '-a', ota.get_auth(config), '-P', str(host_port)] |                    '-a', ota.get_auth(config), '-P', str(host_port)] | ||||||
|  |     if args.verbose: | ||||||
|  |         espota_args.append('-d') | ||||||
|     return espota.main(espota_args) |     return espota.main(espota_args) | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user