This is a snippet from the config I’m trying. It’s perfectly logical and straightforward, and nothing in the documentation so much as implies that it wouldn’t work.
!include platforms.yaml
homeassistant:
<etc>
It doesn’t work, and produces a cryptic error:
$ hass --script check_config --files
Testing configuration at /home/hass/.homeassistant
2017-08-06 18:23:29 ERROR (Thread-2) [homeassistant.util.yaml] mapping values are not allowed here
in "/home/roothorick/hass/core.yaml", line 5, column 14
2017-08-06 18:23:29 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/hass/.homeassistant/configuration.yaml: mapping values are not allowed here
in "/home/roothorick/hass/core.yaml", line 5, column 14
My best guess is it’s trying to tack on the homeassistant:
block to the last block in platforms.yaml. Why? Is this intentional? Bug? Is there any way to do what I want?