mirror of
https://github.com/esphome/esphome.git
synced 2026-09-13 16:18:41 +00:00
cc6245b87675b1156b3a3f4bbf45d0165b604edd
`StorageJSON.apply_to_core` was the inverse of `from_esphome_core`: two enumerations of the same fields that had to stay in sync. When a new CORE attribute joined the validation pipeline, both lists needed an update. Replace it with `_populate_core_from_validated_config(config)` in `compiled_config.py` that reads the cached config dict directly -- same source `read_config` writes into during validation, no separate sidecar schema. The fast path no longer touches StorageJSON at all; the sidecar stays in place for the dashboard's existing use. Drift surface shrinks to: name/friendly_name/build_path under the esphome block (config schema is stable) + target_platform discovered via `_is_target_platform` (the canonical detector) + framework via the `<platform>.framework.type` convention every platform component already follows.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
593 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
