Error reporting when configuration YAML is split

If the configuration.yaml is split with include statements like

automation: !include automation.yaml

if you report an error with a line number in the configuration.yaml file - can you specify the line number of the included file and that name so you can find the configuration you need to look at - or provide the line of the error (be careful if it is a secret or state it is not printed as it is a secret). It looks at the moment that it may only report the line number if all the files were added together which makes it hard to find

Duplicate of: WTH is up with the "useless" error messages for having an invalid config

1 Like