diff --git a/esphome/__main__.py b/esphome/__main__.py index a7a3836b69..614bc12bae 100644 --- a/esphome/__main__.py +++ b/esphome/__main__.py @@ -408,7 +408,7 @@ def command_update_all(args): print("-" * twidth) print() rc = run_external_process( - "esphome", "--dashboard", "run", "--no-logs", "--device", "OTA", f + "esphome", "--dashboard", "run", f, "--no-logs", "--device", "OTA" ) if rc == 0: print_bar("[{}] {}".format(color(Fore.BOLD_GREEN, "SUCCESS"), f)) @@ -505,6 +505,7 @@ def parse_args(argv): "clean", "dashboard", "vscode", + "update-all", ], ) diff --git a/esphome/dashboard/dashboard.py b/esphome/dashboard/dashboard.py index 66f72bfc00..d10e5ff002 100644 --- a/esphome/dashboard/dashboard.py +++ b/esphome/dashboard/dashboard.py @@ -329,7 +329,7 @@ class EsphomeVscodeHandler(EsphomeCommandWebSocket): class EsphomeAceEditorHandler(EsphomeCommandWebSocket): def build_command(self, json_message): - return ["esphome", "--dashboard", "-q", "vscode", settings.config_dir, "--ace"] + return ["esphome", "--dashboard", "-q", "vscode", "--ace", settings.config_dir] class EsphomeUpdateAllHandler(EsphomeCommandWebSocket):