Logger: homeassistant.config
Source: config.py:416
First occurred: 8:33:03 (3 occurrences)
Last logged: 8:41:48
Invalid config for [automation]: Unexpected value for condition: 'None'. Expected numeric_state, state, sun, template, time, zone, and, or, not, device @ data['condition'][1]. Got None. (See /config/configuration.yaml, line 8).```
I have checked my Automation.yaml - here are everywhere "condition: []" (in every section/id).
The question to a developers could you add more precision sign to a place where this error has been found? Cause what I can see in log - Error are at line 8 in config, but we always use including sub-files such as automation.yaml - so the place in main config-file mean "include automation.yaml" line.
This means it is the second condition in one of your automations:
The list starts counting from 0.
If you are having trouble working out where, comment out half your automations and run a config check. Pass = error in the commented section, fail = error in the uncommented section. Then keep dividing the section with the error in half with comments until you narrow it down.
Thank you for fast reply. I have found that error’s place, but it take some time to look through 300+ lines. Yes you are right the error was at second place in list of sub-conditions.
My post was about - to have more detail description of place where error are. It can be to show line number or like in SQL - surrounding words of such place.
In this case I have catch it ‘fast’ (about 15 minutes) but sometimes there are difficult to understand what and where I should look. As an example if you lose one char in ‘condition’ - ‘conditon’ or similar you can spend much more time to search it.