1
0
Fork 0

Home Assistant Git Exporter

main
31c0fe9c6dbd74bcdde92e1d2aaa03e1d272f75f 2022-06-06 16:26:26 +10:00
parent 43bef720c2
commit 9af4451353
2 changed files with 43 additions and 0 deletions

View File

@ -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"

View File

@ -140,3 +140,6 @@ items:
- id: 713c44b772b54d5ebdb0061a188e2f7b
type: module
url: /hacsfiles/custom-icons/custom-icons.js?hacstag=491465538021
- id: c6b759faf93a4e22ab9faa3ebcaa218b
type: module
url: /hacsfiles/button-card/button-card.js?hacstag=146194325342