mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 17:17:46 +01:00
Merge branch 'beta' into bump-1.19.0
This commit is contained in:
commit
a800816750
@ -394,7 +394,7 @@ def command_update_all(args):
|
|||||||
import click
|
import click
|
||||||
|
|
||||||
success = {}
|
success = {}
|
||||||
files = list_yaml_files(args.configuration)
|
files = list_yaml_files(args.configuration[0])
|
||||||
twidth = 60
|
twidth = 60
|
||||||
|
|
||||||
def print_bar(middle_text):
|
def print_bar(middle_text):
|
||||||
@ -408,7 +408,7 @@ def command_update_all(args):
|
|||||||
print("-" * twidth)
|
print("-" * twidth)
|
||||||
print()
|
print()
|
||||||
rc = run_external_process(
|
rc = run_external_process(
|
||||||
"esphome", "--dashboard", "run", f, "--no-logs", "--device", "OTA"
|
"esphome", "--dashboard", "run", "--no-logs", "--device", "OTA", f
|
||||||
)
|
)
|
||||||
if rc == 0:
|
if rc == 0:
|
||||||
print_bar("[{}] {}".format(color(Fore.BOLD_GREEN, "SUCCESS"), f))
|
print_bar("[{}] {}".format(color(Fore.BOLD_GREEN, "SUCCESS"), f))
|
||||||
|
Loading…
Reference in New Issue
Block a user