The theme is applied correctly but the mode isn’t changing, it’s always using ‘light’.
The theme I choose has “dark” mode as well (i can select it in the profile UI) :
But when set in the automation, it only sets the theme but not the dark mode.
There is no error or anything, it simply ignores the mode
A workaround would be to split the themes into light & dark but I obviously prefer to use modes.
Yaml configuration: (I’ve used the UI to set it)
service: frontend.set_theme
data:
mode: dark
name: iOS Theme moded
…in fact, if I go to Developer Tools, Services and try to set themes from there it doesn’t work for me either. It only seems to work if I go to Profile and set themes from there,