Hi,
I’m trying to resolve some of the errors my automations config is giving. All my automations are stored in a /automations folder and I’m making use of include_dir_merge_list in my configuration.yaml file. I have 25 seperate automation files in my /automations folder.
For the debuging I like to make use of the command line wit the usage of command: ha core check
The output of this command however only gives me the error message and not the specific automations yaml file the error is orginating from. For example:
ERROR:homeassistant.config:Invalid config for [automation]: expected str for dictionary value @ data['to']. Got None. (See /config/configuration.yaml, line 330).
This error message is linked to line 330 in the configuration.yaml file, this specifc line is the automation: !include_dir_merge_list automation line in my configuration.yaml file. If I now need to fix this str for dictornary error I would have to go trough 25 seperate automations files to look where this error might be occuring from.
Question1: is there any way for the ha core check to output the specific delegated file the error is originating from?
Quesiton2: Is there any way for the ha core check command to run specifically for (and only for) one .yaml file?
I’m using core-2021.4.3 and supervisor-2021.03.9
Many thanks in advance!!