1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 07:32:22 +01:00

Merge branch 'no_git_opts_log' into integration

This commit is contained in:
J. Nick Koston
2025-09-16 12:18:22 -05:00
10 changed files with 576 additions and 24 deletions

View File

@@ -1287,7 +1287,12 @@ def run_esphome(argv):
CORE.config_path = conf_path
CORE.dashboard = args.dashboard
config = read_config(dict(args.substitution) if args.substitution else {})
# For logs command, skip updating external components
skip_external = args.command == "logs"
config = read_config(
dict(args.substitution) if args.substitution else {},
skip_external_update=skip_external,
)
if config is None:
return 2
CORE.config = config