1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 15:42:22 +01:00
This commit is contained in:
J. Nick Koston
2025-09-16 11:49:36 -05:00
parent cbaf8d309b
commit 8e13335ff6
10 changed files with 610 additions and 25 deletions

View File

@@ -1244,7 +1244,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