homelab-codex-ws/scripts/ha
oskar 1ce8383f2e fix(ha): normalize.py round-trips custom HA !tag nodes
yaml.safe_load has no constructor for HA's `!include`/`!secret`/etc. tags
and raised ConstructorError on any real configuration.yaml. Add a
multi_constructor on `!` that generically wraps scalar/sequence/mapping
payloads in a TaggedValue, and a matching representer that re-emits the
same tag + payload — normalization stays idempotent across passes and key
sorting is unaffected by tagged values.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 17:41:12 +02:00
..
lib fix(ha): normalize.py round-trips custom HA !tag nodes 2026-07-21 17:41:12 +02:00
tests fix(ha): normalize.py round-trips custom HA !tag nodes 2026-07-21 17:41:12 +02:00
import.sh feat(ha): skeleton for Home Assistant configs-as-code subproject 2026-07-21 15:29:39 +02:00