Hi, i’m using my HA for 2 yers now but after a power fail it starts in Recovery mode. I checked the logbook and there is a message my configuration.yaml is not ok.
The fault: * [548039643712] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: expected ‘’, but found ‘’ in “/config/configuration.yaml”, line 29, column 1
On line 29, column 1 the integration of my home thermostat starts (rooted Toon Thermostat). This was working fine for, lets say, 400 days…
In the first 29 lines of your configuration.yaml file, are there any !include statements? If there are then the error message’s “line 29, column 1” isn’t the 29th line in the file. It’s the 29th line after the YAML processor has expanded all other files referenced via !include statements. In other words, it’s unlikely it’s complaining about the Toon sensor.
What is the first !include statement in configuration.yaml? For example, if it’s including automations.yaml then that is the file you should inspect for syntax errors.
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions.
You appear to have marked your own post with the Solution tag.
The custom of this community forum is for the topic’s author (you) to mark the first, or best, reply/solution to the topic’s question/problem. My post explains why the error message you received shouldn’t be taken literally and where to look (in the first included file) to find the cause of the error message.