#Force Themes
1 messages · Page 1 of 1 (latest)
There's an action - frontend.set_theme, you can set it to run on home assistant start.
However it's slightly buggy, it will result in the HACS and add on pages being blindingly white as the theme doesn't get applied to them for some reason.
Easier to just change your browser to not delete cookies from home assistant. Then it doesn't reset
set_theme doesn't force dark mode
I don't believe there is any way for you to force dark mode on a device remotely
@jolly crane - disagree
That's not what that does.
Call the service with dark means: "Use this theme when client is in dark mode".
Call the service with light means: "Use this theme when client is in light mode"
It cannot force the client to use one or the other
it's kind of a funky control
would make more sense if it just had two theme selectors: "Dark mode theme" and "light mode theme"
yeah that's not great