I run CI on my config, and it includes homeassistant/home-assistant:dev as part of the test suite. Lately I’ve been getting the following errors…
└─(22:28:36)──> docker run --rm -v "${PWD}":/config -it homeassistant/home-assistant:dev hass -c . --script check_config ──(Sun,Nov22)─┘
Testing configuration at /config/.
Fatal error while loading config: 'collections.OrderedDict' object has no attribute 'errors'
Failed config
General Errors:
- 'collections.OrderedDict' object has no attribute 'errors'
Successful config (partial)
I’ve boiled it down to a bare minimum config as below to make it crash out
homeassistant:
script: !include_dir_merge_named scripts/
And the scripts directory is empty. The error persists regardless of the presence of scripts or not.
This also seems to affect automations and packages, but I haven’t dug into that one yet. So far scripts was a small and easy directory to tackle, but given that it fails with an empty directory I have no idea where to go now!
Anyone have any ideas? My config is at https://github.com/kylegordon/home-assistant-config/ but you’ll need to comment out packages, automation and scripts to make it work