Can't restart HA because of config errors

Hi there,

I’m new to HA and this forum.
I’ve been busy with configuring my HA for the last 2 days but I’m running into some problems.
It seems there is something wrong with my configuration.yaml. Because of this I can’t restart HA anymore.

The faulty message is:

The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: in “/config/configuration.yaml”, line 7, column 9: Unable to read file /config/themes.yaml.

I did the restart under ‘advanced’ earlier and HA restarted, but in ‘Safe mode’

Here’s my configuration.yaml:

What am I doing wrong here? How can I fix this?

Thanks in advance,

Greetings Martin

Check the filename of themes.yaml for typos

  1. move themes in 1 “space”
  2. And Make a “line” or 2 between , down to automation ( they don’t belong, and should not “stick together” )
# Loads default set of integrations. Do not remove.
default_config:

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

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

PS: And make sure you have a folder called /themes, AND that your “custom theme” is in that folder

Thanks for the replies! It worked, everything works fine again! :smiley: