Cannot restart home assistant - Integration error: sensors - Integration 'sensors' not found

Hi - for two last day I try reboot from settings–>system–>three dots in my home assistant but … I can’t

I get only information

The system cannot restart because the configuration is not valid: Integration error: sensors - Integration 'sensors' not found.

In similar case at forum, other people recommended check configuration.yaml, but i don’t see anything suspicious… Do you have any idea what i can do? :’(

# Loads default set of integrations. Do not remove.
default_config:

cloud:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensors: !include sensors.yaml

Change this:

sensors: !include sensors.yaml

To this:

sensor: !include sensors.yaml

The integration is called sensor not sensors which is why the error said it could not find a “sensors” integration. The include file name can be called anything (as long as you have a matching file), but not the integration (before the colon).

1 Like

ah… okay … i am only stupid. I was be sure i didn’t change anything in this file …

Don’t be so hard on yourself. I make stupid mistakes all the time. The trick is to learn from them. :+1:

1 Like

I doubt that there is anyone here who hasn’t made a similar mistake. I know I certainly have.