jono
(Jono)
1
Now that themes are now possible in Home Assistant, is it possible to load different themes by activating scripts?
I’m thinking along the lines of below, but not sure how to do it ‘properly’
script:
theme_graphite:
sequence:
- service: homeassistant.set_theme
entity_id: theme.graphite
1 Like
PtP
(Mike)
2
@jono
I am using it in an automation so you might be able to use it in a script.
- alias: Set Theme
trigger:
platform: homeassistant
event: start
action:
service: frontend.set_theme
data:
name: green
5 Likes
jono
(Jono)
3
Yes, I’ll be able to create a script from this.
Thanks a lot!
1 Like