#Force Themes

1 messages · Page 1 of 1 (latest)

pseudo phoenix
#

Is there a way to Force Dark theme on all my devices for my HA instance?

This constantly resets so I was hoping there was a way in the config file or similar

candid hemlock
#

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

jolly crane
#

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

candid hemlock
#

@jolly crane - disagree

jolly crane
#

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"

candid hemlock
#

yeah that's not great