What does this config error even mean?

Hi,

I got “Component error: sensors - Integration ‘sensors’ not found”. I think I accidentally changed sensor: !include sensors.yaml to sensors: !include sensors.yaml - when I commented this line I got no config error. When I made it sensor, I got a key error.

To fix it, I had to move my binary sensor, from sensors.yaml back to configuration.yaml

Am I correct in assuming that errors in other yaml files are not referenced in the error checker? And how are we supposed to know where the problem is if it doesn’t even reference the line?

For binary sensors, you can use in configuration.yaml :
binary_sensor: !include binary_sensor.yaml

Most of the time the line is shown, including in include files ( but as you have seen, not always)