akszyn_pl
(Lord Adrian)
July 6, 2021, 1:14pm
1
in my case, the service that changes the appearance, who is called frontend.set_theme does nothing despite pressing the call service button
so i can’t do automation to change theme e.g. depending on the position of the sun
please help in creating a working automation to change the theme
petro
(Petro)
July 6, 2021, 1:16pm
2
show your configuration for set_theme
akszyn_pl
(Lord Adrian)
July 6, 2021, 1:17pm
3
Where can I find this configuration?
petro
(Petro)
July 6, 2021, 1:19pm
4
where ever you’re attempting to use the service… you said you tried to use the service and you failed. So what did you try?
akszyn_pl
(Lord Adrian)
July 6, 2021, 1:23pm
5
In the developer tools tab and services as in the screenshot below
Changing the theme does not work in automations either
tom_l
July 6, 2021, 1:31pm
6
Do you have a theme called dark
?
The service call is working for my day/night themes.
akszyn_pl
(Lord Adrian)
July 6, 2021, 1:32pm
7
I have such themes and I would like to do automation that sets the theme dark
after sunset
So how can I otherwise automatically change the theme?
tom_l
July 6, 2021, 1:36pm
8
Set your profile theme to ‘Backend-selected’ and try the service call again.
akszyn_pl
(Lord Adrian)
July 6, 2021, 1:39pm
9
I do not have such a theme as you can see in the screenshot attached earlier, so how can I change to this theme?
tom_l
July 6, 2021, 1:40pm
10
Not even if you scroll up past ‘default’.
petro
(Petro)
July 6, 2021, 1:41pm
12
what does that even mean?
tom_l
July 6, 2021, 1:42pm
13
Try logging out and in again:
After months of not understanding why I couldn’t find the “backend-selected” option on a particular device I decided to check the forums and since I’m not alone, here’s my experience…
The device had a manually selected theme, and the option for “backend-selected” was missing. Logging in on another device with the same user, it defaulted to “backend-selected” there, but on the problem device it remained the same (Service: frontend.set_theme had no effect - the theme could only be manually set)
C…
You may also have to reset the app frontend cache.
2 Likes
akszyn_pl
(Lord Adrian)
July 6, 2021, 1:48pm
14
This is a temporary solution because when you choose a different theme, this option disappears and you need to log in again to be able to change the theme again using this service So can you add theme called ‘Backend-selected’ permanently?
tom_l
July 6, 2021, 1:53pm
15
Congratulations!
You found a bug.
Please report it here so that it gets fixed:
I’m surprised no one else has already considering the date on that post I linked to.
akszyn_pl
(Lord Adrian)
July 6, 2021, 2:14pm
16
Error reported and please let me know if something is missing in the error description
opened 02:12PM - 06 Jul 21 UTC
Checklist
I have updated to the latest available Home Assistant version.
I have cleared the cache of my browser.
I have...
bug
But I can see that the problem has been ignored and immediately closed
tom_l
July 6, 2021, 2:25pm
17
Unfortunately your issue has been closed because you did not identify the issue correctly.
The issue is that you can not set the profile theme to “Backend-selected” after selecting another theme as it is no longer visible.
I have commented and hopefully Bram will reopen it.
1 Like
sezgin9716
(Sezgin9716)
December 5, 2021, 7:21pm
18
i can’t select theme and i treid form services any ideas
petro
(Petro)
December 5, 2021, 8:52pm
19
you have to configure the ability to use themes
petro
(Petro)
December 11, 2021, 7:11pm
21
Do you have the themes in that folder?