-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-lovelace.yaml
executable file
·58 lines (56 loc) · 2.2 KB
/
ui-lovelace.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
button_card_templates: !include_dir_merge_named /config/UI/button_card_templates
# swipe_nav:
# enable: true
# wrap: false
# swipe_amount: 30
# animate: swipe
views:
# - !include UI/views/lovelace.yaml
- type: custom:grid-layout
title: Home
path: home
layout:
margin: 0
grid-gap: var(--custom-layout-card-padding)
grid-template-columns: repeat(4, 1fr) 0
grid-template-rows: 0 repeat(2, fit-content(100%)) 0fr
grid-template-areas: |
"sidebar . . . ."
"sidebar livingroom kitchen bedroom ."
"sidebar media et_cetera house ."
"sidebar footer footer footer ."
mediaquery:
"(max-width: 800px)":
grid-gap: calc(var(--custom-layout-card-padding) * 1.7)
grid-template-columns: 0 repeat(2, 1fr) 0
grid-template-rows: 0 repeat(5, fit-content(100%)) 0fr
grid-template-areas: |
". . . ."
". sidebar sidebar ."
". livingroom bedroom ."
". kitchen et_cetera ."
". media house ."
". footer footer ."
". . . ."
"(max-width: 1200px)":
grid-gap: var(--custom-layout-card-padding)
grid-template-columns: repeat(3, 1fr) 0
grid-template-rows: 0 repeat(3, fit-content(100%)) 0fr
grid-template-areas: |
"sidebar . . ."
"sidebar livingroom bedroom ."
"sidebar kitchen et_cetera ."
"sidebar media house ."
"sidebar footer footer ."
"sidebar . . ."
badges: []
cards:
- !include /config/UI/cards/theme_config.yaml
- !include /config/UI/cards/lovelace/sidebar.yaml
- !include /config/UI/cards/lovelace/footer.yaml
- !include /config/UI/cards/rooms/livingroom.yaml
- !include /config/UI/cards/rooms/bedroom.yaml
- !include /config/UI/cards/rooms/kitchen.yaml
- !include /config/UI/cards/rooms/house.yaml
- !include /config/UI/cards/rooms/media.yaml
- !include /config/UI/cards/rooms/et_cetera.yaml