Configuration.yaml - What Have I Messed Up?

I thought I was just adding a pointer to a templates.yml, but now I’m getting error messages which I don’t understand, viz.
“Configuration warnings
Integration error: themes - Integration ‘themes’ not found.”

What syntax rule have I broken?

# 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
template: !include templates.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

the directory themes is missing.

Their config is not indented correctly. It’s almost impossible to tell because they did not format their post correctly.

themes: should be indented under frontend:, like this:

frontend:
  themes: !include_dir_merge_named themes
2 Likes

well spotted!

1 Like

Thanks that seems to have done the trick.
Newbee questions:
Why is there a two space indent on just the themes line?
Why not also on the automatio, template, script and scene lines?

Because themes is a “child” of frontend; the others are “top-level”.

1 Like

Thanks. I was looking for a way to append code properly formatted (like many Linux fora) but couldn’t see it. How is it done here?

There is a link in my post.

Thanks. Got there eventually. It’s not brillianty clear or as obvious as on Linux fora, and I’m not a regular user

There’s also the <\> button in the post top menu (can be hidden in the cog menu on smaller mobile screens).