mirror of
https://github.com/esphome/esphome.git
synced 2026-09-12 07:47:33 +00:00
- Advertise `has_store_yaml` in DeviceInfoResponse so recovery tooling can detect support without timing out against firmware built without USE_STORE_YAML. - Suppress GetYamlResponse from the proto dump path. Every chunk would otherwise log embedded configuration (including opted-in secrets) on builds with HAS_PROTO_MESSAGE_DUMP, and bloat logs during recovery. - Preserve the include graph for files outside the project root: use `os.path.relpath` instead of just the basename so e.g. two `../common.yaml` siblings don't collide on recovery. - Keep `track_yaml_loads` open across `validate_config` so files loaded by remote packages and substitution-resolved includes are captured. - Add focused unit tests for `_gather_files` (redaction, secrets.yml, opt-in, dedupe, external-path handling, missing sources) and `_pack_envelope` (round-trip, UTF-8 paths, overlong-path guard). - Make the test_bundle assertion case-insensitive.