-
Notifications
You must be signed in to change notification settings - Fork 4
/
lights.yaml
executable file
·186 lines (166 loc) · 5.42 KB
/
lights.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
title: Valaistus
style: |
--popup-max-width: 90vw;
--popup-min-width: 80vw;
card_mod:
style:
hui-vertical-stack-card:
$: |
#root {
padding: 1rem 1rem 2rem 1rem;
}
$hui-horizontal-stack-card:
$: |
#root {
display: flex;
justify-content: center;
}
h1.card-header {
display: flex;
justify-content: center;
}
content:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: scene_icon_temperature
entity: light.group_all_flat
name: Relax
variables:
color_rgb: 255, 148, 43
color_temperature: 2800
brightness: 60
- type: custom:button-card
template: scene_icon_temperature
entity: light.group_all_flat
name: Luku
variables:
color_rgb: 255, 174, 103
color_temperature: 3500
brightness: 100
- type: custom:button-card
template: scene_icon_temperature
entity: light.group_all_flat
name: Keskity
variables:
color_rgb: 255, 214, 181
color_temperature: 4200
brightness: 100
- type: custom:button-card
template: scene_icon_temperature
entity: light.group_all_flat
name: Viileä
variables:
color_rgb: 255, 252, 247
color_temperature: 6000
brightness: 100
- type: custom:button-card
template: scene_icon_brightness
entity: light.group_all_flat
name: 60%
variables:
brightness: 60
- type: custom:button-card
template: scene_icon_brightness
entity: light.group_all_flat
name: 40%
variables:
brightness: 40
- type: custom:button-card
template: scene_icon_brightness
entity: light.group_all_flat
name: 20%
variables:
brightness: 20
- type: custom:button-card
template: subtitle
name: Huoneet
- type: grid
columns: 4
square: false
cards:
- type: custom:button-card
template: new_compact_light
entity: light.group_entrance
variables:
name: Eteinen
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_kitchen
variables:
name: Keittiö
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_living_room
variables:
name: Olohuone
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_bedroom
variables:
name: Makuuhuone
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_otsos_room
variables:
name: Otso
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_sisus_room
variables:
name: Sisu
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_office
variables:
name: Työhuone
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: switch.tplink_hs100_3
variables:
name: Kodinhoito
card_shadow_enabled: false
- type: custom:button-card
template: subtitle
name: Alueet
- type: grid
columns: 4
square: false
cards:
- type: custom:button-card
template: new_compact_light
entity: light.group_all
variables:
name: Kaikki
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_living_areas
variables:
name: Oleskelutilat
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_kids_rooms
variables:
name: Lapset
card_shadow_enabled: false
- type: custom:button-card
template: new_compact_light
entity: light.group_outdoor
variables:
name: Ulkovalot
card_shadow_enabled: false