I’ve installed themes via HACS, but I actually like the Default theme. My problem is, I don’t know how to call it in an Automation.
If I, for example, install Google Theme, I can call it via frontend.set_theme. However, the Default theme is not an option. How do I get the Default theme to be an option I can select in an Automation?
Below is an Automation I created with the Google Theme. How do I get the Default theme as an option in this?
alias: Theme Change
description: ''
trigger:
- platform: state
entity_id: sun.sun
condition: []
action:
- choose:
- conditions:
- condition: sun
before: sunset
after: sunrise
sequence:
- service: frontend.set_theme
data:
name: Google Theme
mode: light
- conditions:
- condition: sun
before: sunrise
after: sunset
sequence:
- service: frontend.set_theme
data:
name: Google Theme
mode: dark
default: []
mode: single