mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
fixes compatibility with esphome cfg vscode (#1911)
This commit is contained in:
parent
744ca1af7c
commit
429caccefa
1 changed files with 2 additions and 1 deletions
|
@ -504,6 +504,7 @@ def parse_args(argv):
|
||||||
"version",
|
"version",
|
||||||
"clean",
|
"clean",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
|
"vscode",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -686,7 +687,7 @@ def run_esphome(argv):
|
||||||
CORE.dashboard = args.dashboard
|
CORE.dashboard = args.dashboard
|
||||||
|
|
||||||
setup_log(args.verbose, args.quiet)
|
setup_log(args.verbose, args.quiet)
|
||||||
if args.deprecated_argv_suggestion is not None:
|
if args.deprecated_argv_suggestion is not None and args.command != "vscode":
|
||||||
_LOGGER.warning(
|
_LOGGER.warning(
|
||||||
"Calling ESPHome with the configuration before the command is deprecated "
|
"Calling ESPHome with the configuration before the command is deprecated "
|
||||||
"and will be removed in the future. "
|
"and will be removed in the future. "
|
||||||
|
|
Loading…
Reference in a new issue