mirror of
https://github.com/esphome/esphome.git
synced 2026-09-13 00:07:32 +00:00
[core] Type-annotate config local in dispatcher
This commit is contained in:
+1
-1
@@ -2423,7 +2423,7 @@ def run_esphome(argv):
|
||||
# last compile wrote. Falls back to read_config when missing/stale.
|
||||
# Skipped when -s overrides are passed, since the cache was written
|
||||
# against the previous substitution set.
|
||||
config = None
|
||||
config: ConfigType | None = None
|
||||
if args.command in ("upload", "logs") and not command_line_substitutions:
|
||||
from esphome.compiled_config import load_compiled_config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user