Config check can be rather unhelpful. It doesn’t point to the correct file (if you have an error in, say, customize.yaml, it doesn’t point to that, but to configuration.yaml). What does this even tell me?
I didn’t even make any changes to config.yaml. What do I do with this?
The same goes for notifications. “Config error, see logs” isn’t very helpful as there are errors that don’t spawn a notifications, and I have no way of telling what’s the notification concerning. Thanks!
But why? It worked even an hour ago, I didn’t touch anything AND the switch itself works (it wakes the PC up). I really don’t know what to do with this. Thanks for your answer.
The following integrations and platforms could not be set up:
* [sensor.template](https://www.home-assistant.io/integrations/template)
* [sensor.mqtt](https://www.home-assistant.io/integrations/mqtt)
and the original error is gone. I’m not editing any file. I’m completely perplexed.
The reason you get that is because you import other files in to the config file.
So when the config check is done (I assume) all is in one file so line numbers are not correct anymore.
What you can do is to instead of including the separate files is to copy paste it in to the config just to do the config check.
That way you should get a correct error message.