mirror of
https://github.com/esphome/esphome.git
synced 2026-08-30 17:46:01 +00:00
[core] Store the validated-config cache as JSON to drop YAML off the upload fast path (#18106)
This commit is contained in:
@@ -52,7 +52,7 @@ def _prime_cache(yaml_path: Path) -> None:
|
||||
|
||||
Mirrors ``esphome compile``: ``read_config`` populates ``CORE.config``,
|
||||
then ``update_storage_json`` writes both the StorageJSON sidecar and
|
||||
the ``.validated.yaml`` compiled-config cache.
|
||||
the ``.validated.json`` compiled-config cache.
|
||||
"""
|
||||
CORE.config_path = yaml_path
|
||||
config = read_config({}, skip_external_update=True)
|
||||
|
||||
Reference in New Issue
Block a user