I recently noticed that some of my themes were not applied properly in the main view (overview). I have picked all the themes from this forum without any modification and they used to work fine. Oddly, when I change the theme, it seems to be applied properly in the configuration, developer tools, profile, logbook, etc. pages, but not in the main view (lovelace interface). Refreshing, restarting, clearing cache does not change anything.
For instance, here is a screenshot of my interface with the “slate” theme :
Seeing the same thing when switching from my day to night theme or vice versa. The card background colours are not being updated unless the browser is refreshed. Started happening after the 0.97 update.
No, I haven’t applied a theme or background to individual views. The theme is applied globally.
I have an automation for my day and night theme (applied globally), and it works fine. The only issue is when I override the automatically applied theme for test purpose or on an other device.
I have a similar issue, namely that the background color of themes is no longer properly applied since a couple of versions. It just stays white. This only happens when I try to define the theme for a view, not the entire UI.
Anyone else have the same issue? Any ideas on how to troubleshoot?
5 years later I am facing this issue as well…
When having “Theme”->“Auto” in my profile settings and switching themes almost everything adapts to that change, but the background on an open dashboard (although the Cards adapt to that change). When refreshing the page the background gets rendered correctly.
Can anyone point to logs or anything how one can investigate this in more detail?
Interestingly enough I discovered that behavior only on “/lovelace/default_view” and not on any other custom dashboard…
Alright… For anyone stumbling over this issue in 2024:
I solved it by switching into the raw editor of the dashboard and removed the “theme: Backend-selected” attribute of the individual views, where I found that behavior.