-
Notifications
You must be signed in to change notification settings - Fork 4
/
ui-lovelace.yaml
655 lines (628 loc) · 18.9 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
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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
## Lovelace UI ##
resources:
- url: /local/alarm_control_panel-card.js?v=2
type: js
- url: /local/thermostat-card.js?v=2
type: module
- url: /local/plan-coordinates.js?v=2
type: js
- url: /local/monster-card.js?v=2
type: js
- url: /local/gauge-card.js?v=2
type: js
- url: /local/audio-card.js?v=2
type: js
title: Adensville
views:
# The name of a view will be used as tab title.
# Might be used for other things in the future.
- title: Office
icon: mdi:castle
# Each view can have a different theme applied. Theme should be defined in the frontend.
# The cards to show on this view.
cards:
# The entities card will take a list of entities and show their state.
- type: entities
# Title of the entities card
title: Office
# The entities here will be shown in the same order as specified.
entities:
- device_tracker.justin_iphone7
- light.office_test_lights
- switch.office_crown
- switch.office_light
- switch.office_wall
- switch.office_fan
- switch.office_lock
- type: entity-filter
entities:
- device_tracker.jackson_iphone
- device_tracker.janis7
- device_tracker.justin_iphone7
- device_tracker.zoes_ipod_touch
- device_tracker.dawsons_ipod_touch
state_filter:
- home
card:
type: glance
title: Who is Home?
show_state: false
show_name: false
- type: entities
entities:
- climate.upstairs_ac
- climate.upstairs_heat
- switch.upstairs_ac
- switch.upstairs_furnace
- switch.upstairs_fan
- type: entity-filter
entities:
- switch.back_porch
- switch.boys_bathroom
- switch.boys_shower
- switch.front_porch
- switch.garage_lights
- switch.master_crown
- switch.office_crown
- switch.office_fan
- switch.office_light
- switch.office_wall
- switch.side_porch
- switch.taz_5
- switch.theater
- switch.toy_room
- entity: switch.upstairs_hall
name: Hall
tap_action: toggle
state_filter:
- "on"
card:
type: glance
column_width: 20%
show_state: false
- type: media-control
entity: media_player.volumio_volumiohomelocal
- type: custom:audio-card
media_player: media_player.my_html5_speakers
# setup: true
devices:
- 6fbc50-fbdc2c #my macbook
- type: history-graph
hours_to_show: 168
refresh_interval: 3600
entities:
# - entity: sensor.drzzs_xbox
# name: Xbox
- sensor.work_week
- type: map
entities:
- device_tracker.jackson_iphone
- device_tracker.janis7
- device_tracker.justin_iphone7
- device_tracker.zoes_ipod_touch
- device_tracker.dawsons_ipod_touch
- zone.home
- zone.work
- type: weather-forecast
entity: weather.dark_sky
- type: custom:monster-card
card:
type: entities
title: Lovely Beautifuls
show_state: false
column_width: 20%
filter:
include:
- entity_id: "*girls*"
exclude:
- entity_id: "*BTN"
- entity_id: "automation*"
- type: custom:monster-card
card:
type: entities
title: Strong Handsoms
show_state: false
column_width: 20%
filter:
include:
- entity_id: "*boys*"
- entity_id: "switch.10024200b4e62d51cd4b"
exclude:
- entity_id: "*BTN"
- entity_id: "automation*"
- type: custom:alarm_control_panel-card
entity: alarm_control_panel.alarm
title: Alarm System
states:
- arm_home
- arm_away
- type: entities
title: Theater Room
entities:
- switch.theater
- switch.tv
- input_boolean.receiver
- switch.volume
- input_select.projector_input
- media_player.theater
- title: cameras
icon: mdi:camera
cards:
- type: horizontal-stack
cards:
- type: picture-entity
entity: switch.office_crown
tap_action: toggle
state_image:
"on": /local/office.png
"off": /local/office_off.png
- type: picture-entity
entity: switch.garage_lights
tap_action: toggle
camera_image: camera.garage
- type: horizontal-stack
cards:
- type: custom:gauge-card
title: Office Temp
entity: sensor.blink_mountain_room_temperature
scale: 40px
min: 40
max: 90
severity:
green: 50
red: 80
amber: 73
- type: custom:gauge-card
title: Toy Room Temp
entity: sensor.blink_toy_room_temperature
scale: 40px
min: 40
max: 90
severity:
green: 50
red: 80
amber: 73
- type: custom:gauge-card
title: Garage Temp
entity: sensor.blink_garage_temperature
scale: 40px
min: 40
max: 90
severity:
green: 50
red: 80
amber: 73
- type: vertical-stack
cards:
- type: picture-glance
image: /local/Rainbow.jpg
title: Office
entities:
- device_tracker.justin_iphone7
- entity: light.office_test_lights
icon: mdi:football
- entity: switch.office_crown
icon: mdi:power
- switch.office_light
- switch.office_wall
- switch.office_fan
- switch.office_lock
- type: iframe
url: http://volumio-home.local/
aspect_ratio: 100%
- title: floorplan
icon: mdi:earth
panel: true
cards:
- type: vertical-stack
cards:
- type: custom:plan-coordinates
- type: picture-elements
image: /local/HHC1.png
elements:
# - type: icon
# tap_action: navigate
# navigation_path: /lovelace/0
# icon: mdi:death-star-variant
# style:
# top: 95%
# left: 95%
# color: cyan
############## Garage ###############
- type: state-icon
tap_action: toggle
entity: switch.88800443bcddc2e42e95
style:
top: 36%
left: 32%
- type: image
tap_action: toggle
entity: switch.4336784084f3eb5d4b45
state_image:
"on": /local/fanY.gif
"off": /local/fan.png
style:
top: 44%
left: 24%
width: 5%
state_filter:
"on": blur(2px)
"off": hue-rotate(20deg)
- type: image
tap_action: toggle
entity: switch.4336784084f3eb5cedea
state_image:
"on": /local/fanY.gif
"off": /local/fan.png
style:
top: 40%
left: 15%
width: 5%
state_filter:
"on": blur(2px)
"off": hue-rotate(20deg)
- type: state-label
entity: sensor.blink_garage_temperature
style:
top: 17%
left: 25%
font-weight: bold
- type: state-icon
tap_action: toggle
entity: switch.side_porch
style:
top: 49%
left: 20%
- type: state-icon
entity: binary_sensor.garage_fridge
style:
top: 44%
left: 37%
- type: state-icon
entity: binary_sensor.garage_motion
style:
top: 43%
left: 31%
- type: state-icon
tap_action: toggle
entity: cover.double
style:
top: 20%
left: 39%
- type: state-icon
tap_action: toggle
entity: cover.test
style:
top: 23%
left: 23%
############# Main Floor ##############
- type: state-label
entity: sensor.blink_piano_room_temperature
style:
top: 50%
left: 53%
font-weight: bold
color: white
- type: state-icon
tap_action: toggle
entity: switch.back_porch
style:
top: 82%
left: 34%
- type: state-icon
tap_action: toggle
entity: switch.front_porch
style:
top: 30%
left: 62%
- type: state-icon
tap_action: toggle
entity: switch.10024200b4e62d51d3d7
style:
top: 49%
left: 44%
- type: state-icon
tap_action: toggle
entity: switch.airfilter
style:
top: 48%
left: 52%
############## Master Bedroom ##############
- type: state-icon
tap_action: toggle
entity: switch.10024200b4e62d51d558
style:
top: 56%
left: 74%
- type: state-icon
tap_action: toggle
entity: switch.master_crown
style:
top: 93%
left: 90%
- type: image
tap_action: toggle
entity: switch.master_fan
state_image:
"on": /local/fanY.gif
"off": /local/fan.png
"unavailable": /local/fan.png
style:
top: 84%
left: 87%
width: 6%
state_filter:
"on": blur(2px)
"off": hue-rotate(20deg)
- type: state-icon
tap_action: toggle
entity: switch.master_light
style:
top: 82%
left: 78%
###########
###########
- title: Upstairs
icon: mdi:home-heart
panel: true
cards:
- type: vertical-stack
cards:
- type: custom:plan-coordinates
- type: picture-elements
image: /local/HHC_2b.png
elements:
##### Toy Room ########
- type: image
tap_action: toggle
entity: switch.4336784084f3eb5d6215
state_image:
"on": /local/fanY.gif
"off": /local/fan.png
style:
top: 13%
left: 44%
width: 4%
state_filter:
"on": blur(2px)
"off": hue-rotate(20deg)
- type: state-icon
tap_action: toggle
entity: switch.toy_room
style:
top: 27%
left: 41%
- type: state-label
entity: sensor.blink_toy_room_temperature
style:
top: 14%
left: 37%
font-weight: bold
- type: custom:thermostat-card
entity: climate.toy_room_heat
style:
left: 53%
top: 23%
width: 13%
ambient_temperature: sensor.blink_toy_room_temperature
hightlight_tap: true
no_card: true
##### Boys Room ########
- type: state-icon
tap_action: toggle
entity: switch.boys_bathroom_lock
style:
left: 47.5%
top: 84.5%
- type: image
tap_action: toggle
entity: switch.boys_fan
state_image:
"on": /local/fanY.gif
"off": /local/fan.png
"unavailable": /local/fan.png
style:
top: 48%
left: 33%
width: 5%
state_filter:
"on": blur(2px)
"off": hue-rotate(20deg)
- type: state-icon
tap_action: toggle
entity: switch.boys_fan_light
style:
top: 55%
left: 33%
- type: state-icon
tap_action: toggle
entity: switch.boys_light
style:
top: 47%
left: 28%
- type: state-icon
tap_action: toggle
entity: switch.10024200b4e62d51cd4b
style:
top: 82.5%
left: 50.5%
- type: state-icon
tap_action: toggle
entity: switch.boys_shower
style:
top: 90%
left: 49%
- type: state-icon
tap_action: toggle
entity: switch.boys_bathroom
style:
top: 77%
left: 49%
- type: state-label
entity: sensor.boys_room_temp
style:
top: 37%
left: 30%
color: white
font-weight: bold
##### Girls Room ########
- type: image
tap_action: toggle
entity: switch.girls_fan
state_image:
"on": /local/fanY.gif
"off": /local/fan.png
"unavailable": /local/fan.png
style:
top: 44%
left: 60%
width: 5%
state_filter:
"on": blur(2px)
"off": hue-rotate(20deg)
- type: state-icon
tap_action: toggle
entity: switch.girls_light
style:
top: 31%
left: 54%
- type: state-icon
tap_action: toggle
entity: switch.girls_wall
style:
top: 51%
left: 60%
- type: state-label
entity: sensor.girls_room_temp
style:
top: 37%
left: 60%
color: white
font-weight: bold
######### Hall ############
- type: state-icon
tap_action: toggle
entity: switch.upstairs_hall
style:
top: 61%
left: 47%
- type: state-label
entity: sensor.upstairs_temp
style:
top: 53%
left: 49%
font-weight: bold
- type: custom:thermostat-card
entity: climate.upstairs_ac
style:
left: 63%
top: 70%
width: 15%
ambient_temperature: sensor.average_upstairs_temp
hightlight_tap: true
no_card: true
# - type: custom:thermostat-card
# entity: climate.upstairs_heat
# style:
# left: 63%
# top: 89%
# width: 15%
# ambient_temperature: sensor.average_upstairs_temp
# hightlight_tap: true
# no_card: true
- type: custom:thermostat-card
entity: climate.kids_bedroom_heat
style:
left: 20%
top: 65%
width: 13%
ambient_temperature: sensor.average_kids_temp
hightlight_tap: true
no_card: true
########### Office #################
- type: state-label
entity: sensor.blink_mountain_room_temperature
style:
top: 84%
left: 24%
color: white
font-weight: bold
- type: state-icon
entity: sensor.printing_status
style:
top: 88%
left: 43%
- type: state-icon
entity: sensor.octoprint_current_state
style:
top: 92%
left: 43%
- type: state-icon
tap_action: toggle
entity: switch.office_lock
style:
top: 73%
left: 37%
- type: state-icon
tap_action: toggle
entity: switch.office_light
style:
top: 78%
left: 32%
- type: state-icon
tap_action: toggle
entity: switch.office_crown
style:
top: 92%
left: 26%
- type: image
tap_action: toggle
entity: switch.office_fan
state_image:
"on": /local/fanY.gif
"off": /local/fan.png
style:
top: 85%
left: 32%
width: 6%
state_filter:
"on": blur(2px)
"off": hue-rotate(20deg)
# - type: image
# entity: light.office_test_lights
# tap_action: call-service
# service: input_select.select_option
# service_data:
# entity_id: input_select.office_test_led_effect
# option: Hail
# state_image:
# "on": /local/hail_1.png
# "off": /local/hail_2.png
# style:
# left: 56%
# top: 90%
# width: 4%
- type: image
entity: light.office_test_lights
tap_action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.office_test_led_effect
option: Hail
state_image:
"on": /local/hail_1.png
"off": /local/hail_2.png
style:
left: 56%
top: 90%
width: 4%
- type: image
entity: device_tracker.justin_iphone7
style:
left: 31%
top: 92%
width: 5%
state_image:
"Home": /local/DrZzs_Emoji.png
"Work": /local/money-bag.png
"Away": /local/me_car.png