-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfloorplan.yaml
More file actions
308 lines (308 loc) · 7.98 KB
/
floorplan.yaml
File metadata and controls
308 lines (308 loc) · 7.98 KB
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
type: custom:button-card
variables:
floorplanversion: 1.0.1
template:
- variable_template
- body_template
styles:
card:
- background-color: "#1c1c1c"
- background-size: cover
custom_fields:
message:
- font-size: "[[[ return variables.var_font_size ]]]"
- position: relative
- padding: 10px
- border-radius: 10px
- width: 100%
- text-align: start
- text-wrap: wrap
- justify-content: center
- align-self: center
- padding: 2%
custom_fields:
title:
card:
type: custom:button-card
icon: mdi:clock
name: "[[[ return variables.var_current_time ]]]"
tap_action:
action: navigate
navigation_path: clock
styles:
card:
- background-color: transparent
- border-width: 0px
- width: 40%
- padding: 0px;
grid:
- grid-template-areas: "\"i n\""
- grid-template-rows: min-content min-content
name:
- font-size: 8vh
- color: white
icon:
- width: 60vh
- color: white
card:
card:
type: picture-elements
image: /local/tmp/newhuislicht.png
dark_mode_image: /local/tmp/newhuisdonker.png
styles:
card:
- width: 180%
- height: 180%
- transform: scale(2.1)
- overflow: hidden
elements:
- type: conditional
title: wc
conditions:
- condition: state
entity: light.wc_lamp
state: "on"
elements:
- type: image
image: /local/tmp/newwc.png
style:
left: 50%
top: 50%
width: 100%
- type: conditional
title: woonkamer
conditions:
- condition: state
entity: light.woonkamer_lampen
state: "on"
elements:
- type: image
image: /local/tmp/newwoonkamer.png
style:
left: 50%
top: 50%
width: 100%
- type: conditional
title: keuken
conditions:
- condition: state
entity: light.keukenlamp_2
state: "on"
elements:
- type: image
image: /local/tmp/newkeuken.png
style:
left: 50%
top: 50%
width: 100%
- type: conditional
title: gang
conditions:
- condition: state
entity: light.lamp_gang_beneden
state: "on"
elements:
- type: image
image: /local/tmp/newgang.png
style:
left: 50%
top: 50%
width: 100%
- type: state-icon
entity: light.woonkamer_lampen
tap_action:
action: toggle
hold_action:
action: toggle
icon: phu:aqara-wirelessbutton
state_color: true
style:
left: 55%
top: 41%
- type: state-icon
entity: light.keukenlamp_2
icon: phu:ceiling-round
tap_action:
action: toggle
hold_action:
action: more-info
style:
left: 38%
top: 68%
- type: state-icon
icon: phu:ceiling-fair
tap_action:
action: toggle
entity: light.wc_lamp
style:
left: 30%
top: 30%
hold_action:
action: more-info
- type: state-icon
icon: phu:recessed-ceiling
tap_action:
action: toggle
hold_action:
action: more-info
style:
left: 34%
top: 42%
entity: light.lamp_gang_beneden
- type: state-icon
entity: light.tuin_lampen
icon: phu:ceiling-buratto-three
tap_action:
action: toggle
hold_action:
action: more-info
style:
left: 80%
top: 70%
- type: state-icon
entity: light.vloerlamp_2
icon: phu:signe-gradient-floor
tap_action:
action: toggle
hold_action:
action: none
style:
left: 59%
top: 28%
- type: state-icon
entity: climate.thermostaat
tap_action:
action: navigate
navigation_path: /dashboard-viewassist/thermostat
hold_action:
action: more-info
style:
left: 44%
top: 50%
- type: state-icon
tap_action:
action: toggle
hold_action:
action: toggle
style:
left: 47%
top: 28%
icon: mdi:desk-lamp-on
entity: light.lamp_tv
- type: state-icon
entity: light.vloerlamp_1
tap_action:
action: toggle
hold_action:
action: more-info
style:
left: 50%
top: 28%
icon: phu:signe-gradient-floor
- type: state-icon
entity: light.led_strip_woonkamer_2
tap_action:
action: toggle
hold_action:
action: more-info
style:
left: 68%
top: 48%
- type: state-icon
style:
left: 48%
top: 63%
tap_action:
action: toggle
hold_action:
action: more-info
entity: light.lamp_pop
- type: state-icon
style:
left: 26%
top: 40%
entity: lock.voordeurslot
tap_action:
action: toggle
hold_action:
action: more-info
- type: state-icon
entity: camera.camera_achtertuin
style:
left: 75%
top: 50%
title: camera achtertuin
icon: mdi:cctv
tap_action:
action: navigate
navigation_path: /dashboard-viewassist/achtertuincamera
- type: state-icon
entity: camera.camera_voordeurbel
icon: mdi:cctv
tap_action:
action: navigate
navigation_path: /dashboard-viewassist/cameravoordeur
title: Voordeurbel
style:
left: 20%
top: 45%
- type: state-icon
style:
left: 50%
top: 50%
entity: light.plafond_ventilator_lamp
tap_action:
action: toggle
hold_action:
action: more-info
- type: state-icon
style:
left: 54%
top: 50%
entity: fan.plafond_ventilator_fan
tap_action:
action: toggle
hold_action:
action: more-info
- type: state-icon
style:
left: 40%
top: 15%
entity: input_boolean.kat_thuis
tap_action:
action: toggle
title: kat
- type: state-icon
entity: input_boolean.gast
icon: phu:rooms-mancave
tap_action:
action: toggle
style:
left: 45%
top: 15%
title: gast
- type: state-label
style:
left: 85%
top: 55%
entity: binary_sensor.tuindeur_contact
prefix: "tuindeur "
- type: icon
icon: mdi:door-closed
entity: binary_sensor.tuindeur_contact
tap_action:
action: more-info
style:
left: 85%
top: 60%
- type: state-icon
icon: mdi:volume-medium
style:
left: 60%
top: 15%
hold_action:
action: toggle
tap_action:
action: navigate
navigation_path: /dashboard-viewassist/music
entity: media_player.woonkamer_2