Help with activating themes

I’m trying to change the default theme of Home Assistant and i’m following the instructions like JuanmTech has on his website.“https://www.juanmtech.com/themes-in-home-assistant/
But. I can’t get them activated in my profile section.
The configuration file is wrong by checking the configuration file:
" Configuration invalid

Component error: themes - Integration themes not found."

My configuration file contains the following:

# Configure a default setup of Home Assistant (frontend, api, etc)
frontend:
themes: !include theme.yaml
  
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

What am I doing wrong? I’ve searched everything about googleand the forums and no clearly solution I can find.

1 Like

Bad indentation. Try:

frontend:
  themes: !include theme.yaml
6 Likes

Hi Folks,
Sorry for the basic question, but I stuck.
What is a mistake I made with the theme integration in configuration.yaml?
I receive an error message when configuration is checked: “Component error: theme - Integration ‘theme’ not found”
I didn’t find solution even I’ve searching for hours

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

homeassistant:
  customize: !include customize.yaml

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
theme: !include themes.yaml


this thread already has your answer, see tom’s reply and check it against your configuration.

Thanks, I’ve tried again and now it works. Previously I’ve tried it in a same way, I think, but a mistake might made.
Now it works! Thank you!

Solution:

homeassistant:
  customize: !include customize.yaml

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
frontend:
  themes: !include themes.yaml
3 Likes