From 30b94f06b383cc1b11513eaf1ca312526c7a30eb Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 6 Jun 2018 11:12:42 +0200 Subject: [PATCH] Add verbose mode for espota --- esphomeyaml/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphomeyaml/__main__.py b/esphomeyaml/__main__.py index 36c5414b58..14ebe02340 100644 --- a/esphomeyaml/__main__.py +++ b/esphomeyaml/__main__.py @@ -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)