Switching to HACS themes not possible

Dear all,

my current configuration is the following and I’m using HACS 1.22.0

System Health

Title Value
version core-2022.2.9
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.92-v8
arch aarch64

Home Assistant Community Store

Title Value
GitHub API ok
Github API Calls Remaining 4969
Installed Version 1.22.0
Stage running
Available Repositories 1073
Downloaded Repositories 12

Home Assistant Cloud

Title Value
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok

Home Assistant Supervisor

Title Value
host_os Home Assistant OS 7.4
update_channel stable
supervisor_version supervisor-2022.01.1
docker_version 20.10.9
disk_total 28.6 GB
disk_used 8.9 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.0.1), Zigbee2mqtt (1.24.0-1), Terminal & SSH (9.3.0), Samba share (9.5.1), Node-RED (11.0.4), ESPHome (2022.2.5)

Lovelace

Title Value
dashboards 1
resources 5
views 9
mode storage

I always get the following error message, if I installed a theme form HACS (e.g. Noctis).

Logger: homeassistant.core
Source: components/frontend/init.py:468
First occurred: 14:41:04 (2 occurrences)
Last logged: 20:41:49

  • Error executing service: <ServiceCall frontend.reload_themes (c:b371c8e5fb3b7e1b055aacaa9362cd7b)>
  • Error executing service: <ServiceCall frontend.reload_themes (c:46be1fb1f056235d9f60cabe290a576e)>

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/core.py”, line 1648, in catch_exceptions
await coro_or_task
File “/usr/src/homeassistant/homeassistant/core.py”, line 1667, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 738, in admin_handler
await result
File “/usr/src/homeassistant/homeassistant/components/frontend/init.py”, line 468, in reload_themes
new_themes = config[DOMAIN].get(CONF_THEMES, {})
KeyError: ‘frontend’

If I switch to the intergrated dark theme via my profil configuration it works and the dark theme is used. Also after searching on the Internet I could not find a solution. Do you have an idea?

Have you enabled themes in configuration.yaml? https://hacs.xyz/docs/categories/themes

Hi @nickrout,

thank you very much. Now it is working. I onaly have to select the theme in my profile configuration!

THX