Only show timestamp for dashboard access logs (#2540)

This commit is contained in:
Otto Winter
2021-10-17 21:01:51 +02:00
committed by Jesse Hills
parent f0089b7940
commit 70b62f272e
2 changed files with 16 additions and 5 deletions
+6 -1
View File
@@ -758,7 +758,12 @@ def run_esphome(argv):
args = parse_args(argv)
CORE.dashboard = args.dashboard
setup_log(args.verbose, args.quiet)
setup_log(
args.verbose,
args.quiet,
# Show timestamp for dashboard access logs
args.command == "dashboard",
)
if args.deprecated_argv_suggestion is not None and args.command != "vscode":
_LOGGER.warning(
"Calling ESPHome with the configuration before the command is deprecated "