New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong key label for theme modes #4
Comments
The correct naming is See here: https://github.com/home-assistant/core/blob/dev/homeassistant/const.py#L138 Why the colors and borders are not working, I'd need to check. Must be something, that is overwritten in one of the I'll see if I come up with something. |
Interestingly, the contents of the file I will try to include all definitions into the |
So. After doing a lot of tests I have found: The key is defined in frontend code |
Uups. My fault. After checking again for any error or mistyped key I have found the reason. |
The key for switching between light and dark theme should be
mode
. I thinkmodes
is wrong.In the documentation Frontend documentation in the samples the keyword 'modes' is used. But in the text and in the attribute list
mode
is listed as attribute key word.After changing to
mode
the automatic change takes place. But the themes aren't rendered correct. In light theme the border is missing.And in both themes (light and dark) the colors are missing. If I change back to
modes
only light theme is working. But than borders and colors are back.I am running Home Assistant 2021.8.6 on docker.
The text was updated successfully, but these errors were encountered: