Home Assistant Git Exporter
parent
43bef720c2
commit
9af4451353
|
@ -0,0 +1,40 @@
|
||||||
|
---
|
||||||
|
blueprint:
|
||||||
|
name: "System Set Default Theme"
|
||||||
|
description: >-
|
||||||
|
Set the default themes on start.
|
||||||
|
domain: "automation"
|
||||||
|
input:
|
||||||
|
theme:
|
||||||
|
name: "Which Theme"
|
||||||
|
description: "Which theme would you like to set as default on reload / start-up?"
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- "minimalist-desktop"
|
||||||
|
- "minimalist-mobile"
|
||||||
|
- "minimalist-mobile-tapbar"
|
||||||
|
|
||||||
|
mode:
|
||||||
|
name: "Which Mode should it be default in"
|
||||||
|
description: "Default in Dark or Light mode?"
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
# based on sun can be added later
|
||||||
|
- "light"
|
||||||
|
- "dark"
|
||||||
|
|
||||||
|
mode: "single"
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
- platform: "homeassistant"
|
||||||
|
event: "start"
|
||||||
|
- platform: "event"
|
||||||
|
event_type: "automation_reload"
|
||||||
|
|
||||||
|
action:
|
||||||
|
- service: "frontend.set_theme"
|
||||||
|
data:
|
||||||
|
name: !input "theme"
|
||||||
|
mode: !input "mode"
|
|
@ -140,3 +140,6 @@ items:
|
||||||
- id: 713c44b772b54d5ebdb0061a188e2f7b
|
- id: 713c44b772b54d5ebdb0061a188e2f7b
|
||||||
type: module
|
type: module
|
||||||
url: /hacsfiles/custom-icons/custom-icons.js?hacstag=491465538021
|
url: /hacsfiles/custom-icons/custom-icons.js?hacstag=491465538021
|
||||||
|
- id: c6b759faf93a4e22ab9faa3ebcaa218b
|
||||||
|
type: module
|
||||||
|
url: /hacsfiles/button-card/button-card.js?hacstag=146194325342
|
||||||
|
|
Loading…
Reference in New Issue