mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Fix some issues with deprecated argv syntax detection (#2127)
This commit is contained in:
parent
06bde559da
commit
1f42d32eb5
2 changed files with 3 additions and 2 deletions
|
@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue