@JamesDenby wrote:
Ok, I have spent hour upon hour trying to get Theme selection to work. I have searched Google, Home Assistant and the Home Assistant Community. From my readings there have been a few people that ran into the same problem; however, once they entered the following line(s) it worked:
frontend: themes: themes.yaml
I then discoverd that ‘frontend’ is included by default in my version. Newer versions work this way
default_config themes: themes.yaml
I even added the following to the bottom of my configuration.yaml (only one theme line at a time - not multiple entries)
devices: !include themes.yaml
But that didn’t work either.
After trying these ‘solutions’ in different areas of the configuraton.yaml nothing worked (I used the second example since I am running 0.103.5). I then tried creating each them in its own .yaml and put all those files in a directory called themes. I then added the following line:
themes: !include_dir_merge_named themes/
This too didn’t work at the bottom of my configuration.yaml, but when placed like this at the top:
default_config themes: !include_dir_merge_named themes/
I did not get an error but still had no themes to select.
I tried many different configurations, indentations, syntax and 90% of these attempts gave me an error when I checked my config. A few iterations checked out fine in my config check, but still no themes to select.
One thing I did notice, when I used the latest method, my system took a lot longer to restart. I thought perchance that it was reading in all the data. Even it if was I still did not gain access to chaning the themes.
I have tried every combination/permutation of the ‘themes’ item. I know I am probably one of the more stupid people given that I can not make this work, but if you could see your way clear to provide me an option that will:
- work
- not give an error
- allow me to select a different theme
I would be appreciative. Thank you
Posts: 2
Participants: 2