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> |
||
|---|---|---|
| .. | ||
| lib | ||
| tests | ||
| import.sh | ||