-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathui-lovelace.yaml
2363 lines (2286 loc) · 76.1 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
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
anchors:
# alerts (generic)
alert-style: &alert-style
card_mod:
style: |
:host {
color: #e63900;
--card-mod-icon-color: #e63900;
--secondary-text-color: #aa3300;
}
# alerts (info)
alert-info-style: &alert-info-style
card_mod:
style: |
:host {
color: #0189cd;
--card-mod-icon-color: #0189cd;
--secondary-text-color: #006ea5;
}
# alerts (plants)
alert-plant-style: &alert-plant-style
card_mod:
style: |
:host {
color: #00b32d;
--card-mod-icon-color: #00b32d;
--secondary-text-color: #008020;
}
# entity header formatting (not used for overivew dashboard)
entities-header-style: &entities-header-style
card_mod:
style:
$: |
:host {
border: none;
}
:host .card-header {
padding: 5px 20px 0px 20px;
font-size: 1.2em;
font-weight: bold;
line-height: 20px;
display: flex;
flex-direction: row;
}
.card-header:before, .card-header:after {
content: "";
flex: 1 1;
border-bottom: 1px solid #505050;
margin: auto;
}
.card-header:before {
margin-right: 10px;
}
.card-header:after {
margin-left: 10px;
}
entities-overview-header-style: &entities-overview-header-style
card_mod:
style: |
:host .card-header {
padding: 5px 20px 0px 20px;
font-size: 1.2em;
font-weight: bold;
line-height: 40px;
display: flex;
flex-direction: row;
margin-top: -10px;
}
:host .card-header:before, .card-header:after {
content: "";
flex: 1 1;
border-bottom: 1px solid #505050;
margin: auto;
}
:host .card-header:before {
margin-right: 10px;
}
:host .card-header:after {
margin-left: 10px;
}
# entities
entities-style: &entities-style
card_mod:
style: |
:host .card-content {
padding: 0px 10px 2px;
}
ha-card {
box-shadow: none;
border: none;
}
# thermostat
thermostat-style: &thermostat-style
card_mod:
style: |
ha-card {
border: none;
--st-font-size-xl: 60px;
--st-font-size-m: 20px;
--st-font-size-sensors: 14px;
--st-spacing: 2px;
}
# mini-graph
mini-graph-style: &mini-graph-style
card_mod:
style: |
ha-card {
border: none;
}
# climate button
climate-button-style: &climate-button-style
card_mod:
style: |
ha-card {
box-shadow: none;
border: none;
height: 50px;
}
styles:
name:
- font-size: 11px
state:
- font-size: 18px
# battery state
battery-state-style: &battery-state-style
card_mod:
style: |
:host .card-header {
padding: 5px 20px 0px 20px;
font-size: 1.2em;
font-weight: bold;
line-height: 20px;
display: flex;
flex-direction: row;
}
:host .card-header:before, .card-header:after {
content: "";
flex: 1 1;
border-bottom: 1px solid #505050;
margin: auto;
}
:host .card-header:before {
margin-right: 10px;
}
:host .card-header:after {
margin-left: 10px;
}
:host .card-content {
padding: 5px 15px 5px 10px;
}
:host .entity-spacing {
margin: 0px 0;
}
.icon {
height: 30px;
}
# neutral icon entity
neutral-icon-entity-style: &neutral-icon-entity-style
card_mod:
style: |
:host {
--card-mod-icon-dim: none;
--card-mod-icon-color: var(--secondary-text-color);
}
# graph button-card style
graph-button-card-style: &graph-button-card-style
card_mod:
style: |
ha-card {
box-shadow: none;
border: none;
}
styles:
card:
- height: 60px
name:
- margin: 10px
- font-size: 11px
state:
- margin: -10px
- font-size: 18px
# graph button-card style
graph-header-button-card-style: &graph-header-button-card-style
card_mod:
style: |
ha-card {
box-shadow: none;
border: none;
}
styles:
card:
- height: 60px
name:
- margin: 10px
- font-size: 14px
state:
- margin: -10px
- font-size: 24px
# media player card style
media-player-card-style: &media-player-card-style
card_mod:
style: |
:host .mmp-player {
padding: 0px;
}
ha-card {
box-shadow: none;
border: none;
}
# battery state color_gradient
battery-state-color_gradient: &battery-state-color_gradient
color_gradient:
- "#a21c10" # red
- "#b3b300" # yellow
- "#24b300" # green
# mini-graph-card temperature color_thresholds
temp-graph-color_thresholds: &temp-graph-color_thresholds
color_thresholds:
- color: '#a55eea'
value: -6.9
- color: '#8854d0'
value: -3.9
- color: '#3867d6'
value: -1.2
- color: '#4b7bec'
value: 1.6
- color: '#2d98da'
value: 4.3
- color: '#45aaf2'
value: 7.1
- color: '#0fb9b1'
value: 9.9
- color: '#2bcbba'
value: 12.7
- color: '#20bf6b'
value: 15.5
- color: '#26de81'
value: 18.2
- color: '#fed330'
value: 21
- color: '#f7b731'
value: 23.8
- color: '#fd9644'
value: 26.6
- color: '#fa8231'
value: 29.3
- color: '#fc5c65'
value: 32.1
- color: '#eb3b5a'
value: 35.9
title: Home
custom_header:
compact_mode: true
views:
## ------ OVERVIEW DASHBOARD ------
- title: Overview
path: overview
icon: 'mdi:alert-box-outline'
badges: []
cards:
# devices in state out of normal range
- type: 'custom:auto-entities'
show_empty: false
card:
type: entities
title: 'Notifications'
show_header_toggle: false
<<: *entities-overview-header-style
filter:
include:
- entity_id: 'sensor.turraphone_ble_area'
options:
name: "Chris' location"
# battery low: zigbee & ble sensors < 15%
- entity_id: 'sensor.(rmt|snr)_*_battery'
state: '< 10'
options:
secondary_info: last-changed
icon: 'mdi:battery-alert-variant-outline'
<<: *alert-style
# battery low: scale & toothbrushes < 15%
- entity_id: 'sensor.(scale|toothbrush)_*_battery_persistent'
state: '< 15'
options:
secondary_info: last-changed
icon: 'mdi:battery-low'
<<: *alert-style
# xiaomi mi flora battery may need replacement
- entity_id: 'sensor.plnt_*_moisture'
last_updated: '> 720' # 12 hours
options:
secondary_info: last-changed
icon: 'mdi:battery-alert-variant-outline'
<<: *alert-style
# battery low: sonos roam
- entity_id: 'sensor.media_*_battery_state'
state: '< 20'
options:
secondary_info: last-changed
<<: *alert-style
# battery low: rtl_433
- entity_id: 'binary_sensor.snr_*_battery_low'
state: 'on'
options:
secondary_info: last-changed
icon: 'mdi:battery-alert-variant-outline'
<<: *alert-style
# battery low: door locks
- entity_id: 'sensor.lck_*_battery'
state: '< 10'
options:
secondary_info: last-changed
icon: 'mdi:battery-low'
<<: *alert-style
# freezer temperature too warm (> -13.9 °C)
- entity_id: 'sensor.snr_*_freezer_temperature'
state: '> -13.9'
options:
icon: 'mdi:fridge-alert-outline'
secondary_info: last-changed
<<: *alert-style
# fridge temperature too warm (> 6.9 °C)
- entity_id: 'sensor.snr_*_fridge_temperature'
state: '> 6.9'
options:
icon: 'mdi:fridge-alert-outline'
secondary_info: last-changed
<<: *alert-style
# outdoor air quality unhealthy
- entity_id: sensor.snr_outside_airquality_aqi
# above 100 is considered unhealthy for sensitive groups
state: '> 100.0'
options:
name: 'Outdoor: Air Quality'
secondary_info: last-changed
icon: 'mdi:chemical-weapon'
<<: *alert-style
# plant needs water
- entity_id: 'binary_sensor.plant_*_soil_moisture_normal'
state: 'off'
options:
type: attribute
attribute: moisture
icon: 'mdi:sprout-outline'
secondary_info: last-changed
<<: *alert-plant-style
# water leak
- entity_id: 'binary_sensor.snr_*_water_leak'
state: 'on'
options:
icon: 'mdi:water-alert'
secondary_info: last-changed
<<: *alert-style
# weather advisories
- entity_id: '/sensor.pitt_meadows_(advisories|statements|warnings)/'
# regex matches any string that doesn't contain a 0 (used for no warning) or is unavaiable
state: '/^(?!.*(unavailable|0))/'
options:
type: attribute
attribute: alert_1
name: 'Weather'
icon: 'mdi:weather-cloudy-alert'
secondary_info: last-changed
<<: *alert-style
# garage heater turned off
- entity_id: sensor.hvac_garage_mode_state
state: '/Off/'
options:
type: attribute
attribute: temperature
name: 'Garage: Heater'
icon: 'mdi:fire-off'
secondary_info: last-changed
<<: *alert-style
# always on plugs off/unavailable (see: group.plugs_always_on)
- entity_id: '/switch.(plg|sw)_(crawlspace_deepfreezer|garage_fridge|laundry_washingmachine)/'
state: '/(off|unknown)/'
options:
icon: 'mdi:power-plug-off-outline'
secondary_info: last-changed
<<: *alert-style
# bbq propane tank needs refilling
- entity_id: 'sensor.snr_shed_bbq_propane_tank_level_percent'
state: '< 25'
options:
name: 'BBQ Tank'
icon: 'mdi:propane-tank-outline'
secondary_info: last-changed
<<: *alert-style
# bc hydro bridge has not report in 10 minutes
- entity_id: 'binary_sensor.bc_hydryo_energy_bridge_stale_updates'
state: 'on'
options:
name: 'BC Hydro Bridge Offline'
icon: 'mdi:transmission-tower-off'
secondary_info: last-changed
<<: *alert-style
# stale entity updates found
- entity_id: 'binary_sensor.*_stale_updates'
state: 'on'
options:
icon: 'mdi:alert-circle-outline'
secondary_info: last-changed
<<: *alert-style
# updates available for philips hue bulbs through zigbee2mqtt & esphome
- entity_id: '/update.(blb|rmt|snr|sw)_*/'
state: 'on'
options:
icon: 'mdi:arrow-up-circle-outline'
secondary_info: last-changed
<<: *alert-info-style
# updates available: hacs
- entity_id: 'sensor.hacs'
state: '> 0'
options:
name: 'Home Assistant Community Store'
icon: 'mdi:arrow-up-circle-outline'
secondary_info: last-changed
<<: *alert-info-style
# updates available: core & add-ons
- entity_id: 'update.*_update'
state: 'on'
options:
icon: 'mdi:arrow-up-circle-outline'
secondary_info: last-changed
<<: *alert-info-style
# updates available (tested with: core, zigbee2mqtt & wled)
- entity_id: '/update.*(!blb)_(firmware|update)|binary_sensor.*_update_available/'
state: 'on'
options:
icon: 'mdi:arrow-up-circle-outline'
secondary_info: last-changed
<<: *alert-info-style
# backups stale
- entity_id: 'binary_sensor.backups_stale'
state: 'on'
options:
icon: 'mdi:alert-box-outline'
secondary_info: last-changed
<<: *alert-info-style
# family room/main bedroom: air purifier filter change
- entity_id: 'sensor.fan_(family_room|main_bedroom)_airpurifier_filter_life'
state: '< 2'
options:
icon: 'mdi:air-filter'
secondary_info: last-changed
<<: *alert-info-style
# hvac filter change cycle (every ~ 3 months)
- entity_id: 'sensor.hvac_filter_change_interval'
state: '> 90'
options:
name: 'HVAC Air Filter Change'
secondary_info: last-changed
tap_action:
action: call-service
service: input_boolean.turn_on
service_data:
entity_id: input_boolean.hvac_filter_change_reset
confirmation:
text: 'HVAC air filter changed?'
<<: *alert-info-style
# washing machine cleaning cycle (every month)
- entity_id: 'sensor.laundry_washing_machine_cleaned_interval'
state: '> 30'
options:
name: 'Laundry: Washing machine cleaning'
secondary_info: last-changed
tap_action:
action: call-service
service: input_boolean.turn_on
service_data:
entity_id: input_boolean.laundry_washing_machine_cleaning_reset
confirmation:
text: 'Washing Machine cleaned?'
<<: *alert-info-style
# dishwasher cleaning cycle (every month)
- entity_id: 'sensor.kitchen_dishwasher_cleaned_interval'
state: '> 30'
options:
name: 'Kitchen: Dishwasher cleaning'
secondary_info: last-changed
tap_action:
action: call-service
service: input_boolean.turn_on
service_data:
entity_id: input_boolean.kitchen_dishwasher_cleaning_reset
confirmation:
text: 'Dishwasher cleaned?'
<<: *alert-info-style
# espresso machine cleaning cycle (every month)
- entity_id: 'sensor.kitchen_espresso_machine_cleaned_interval'
state: '> 30'
options:
name: 'Kitchen: Espresso machine cleaning'
secondary_info: last-changed
tap_action:
action: call-service
service: input_boolean.turn_on
service_data:
entity_id: input_boolean.kitchen_espresso_machine_cleaning_reset
confirmation:
text: 'Espresso Machine cleaned?'
<<: *alert-info-style
# crawlspace locker dehumidifier drying cycle (every month)
- entity_id: 'sensor.crawlspace_locker_dehumidifier_last_dried_interval'
state: '> 30'
options:
name: 'Crawlspace: Locker Dehumidifier'
secondary_info: last-changed
tap_action:
action: call-service
service: input_boolean.turn_on
service_data:
entity_id: input_boolean.crawlspace_locker_dehumidifier_reset
confirmation:
text: 'Locker Dehumidifier Dried?'
<<: *alert-info-style
sort:
method: name
# hvac entities active
- type: 'custom:auto-entities'
show_empty: false
card:
type: entities
title: 'HVAC'
show_header_toggle: false
<<: *entities-overview-header-style
filter:
include:
# bathroom (down) fan
- entity_id: 'switch.sw_downstairsbathroom_fan'
state: 'on'
options:
name: 'Bathroom, Down: Fan'
secondary_info: last-changed
# bathroom (up) fan
- entity_id: 'switch.sw_upstairsbathroom_fan'
state: 'on'
options:
name: 'Bathroom, Up: Fan'
secondary_info: last-changed
# house (ecobee) & garage (sinope)
- entity_id: '/binary_sensor.hvac_(garage|house)_(cooling|heating)_state/'
state: 'on'
options:
secondary_info: last-changed
# family room air purifier
- entity_id: fan.family_room_airpurifier
state: 'on'
options:
type: 'custom:slider-entity-row'
name: 'Family Room: Air Purifier'
icon: 'mdi:air-purifier'
secondary_info: last-changed
# kids radiator
- entity_id: 'binary_sensor.kids_bedroom_heating_state'
state: 'on'
options:
secondary_info: last-changed
# main bedroom fan
- entity_id: fan.main_bedroom
state: 'on'
options:
type: 'custom:slider-entity-row'
name: 'Main Bedroom: Fan'
icon: 'mdi:fan'
secondary_info: last-changed
# main bedroom air purifier
- entity_id: switch.sw_main_bedroom_airpurifier
state: 'on'
options:
name: 'Main Bedroom: Air Purifier'
icon: 'mdi:air-purifier'
secondary_info: last-changed
# main bedroom heater
- entity_id: binary_sensor.main_bedroom_heating_state
state: 'on'
options:
name: 'Main Bedroom: Heater'
icon: 'mdi:radiator'
secondary_info: last-changed
tap_action:
action: call-service
service: switch.turn_off
service_data:
entity_id: switch.sw_main_bedroom_heater
# spare bedroom heater
- entity_id: binary_sensor.spare_bedroom_heating_state
state: 'on'
options:
name: 'Spare Bedroom: Heater'
icon: 'mdi:radiator'
secondary_info: last-changed
# office air purifier
- entity_id: switch.plg_office_airpurifier
state: 'on'
options:
name: 'Office: Air Purifier'
icon: 'mdi:air-purifier'
secondary_info: last-changed
# garage & laundry dehumidifiers
- entity_id: '/switch.plg_(garage_dehumidifier|laundry_zbrtr)/'
state: 'on'
options:
secondary_info: last-changed
# shed ventilation
- entity_id: switch.sw_shed_fan
state: 'on'
options:
name: 'Shed: Fan'
icon: 'mdi:fan'
secondary_info: last-changed
sort:
method: name
# devices that are active
- type: 'custom:auto-entities'
show_empty: false
card:
type: entities
title: 'Devices'
show_header_toggle: false
<<: *entities-overview-header-style
filter:
include:
# bathroom (down)
- entity_id: switch.sw_downstairsbathroom_ceilinglight
state: 'on'
options:
name: 'Bathroom, Down: Vanity'
icon: 'mdi:wall-sconce-flat-variant-outline'
secondary_info: last-changed
# bathroom (up)
- entity_id: switch.sw_upstairsbathroom_light
state: 'on'
options:
name: 'Bathroom, Up: Vanity'
secondary_info: last-changed
# crawlspace
- entity_id: switch.sw_crawlspace_entrancelight
state: 'on'
options:
name: 'Crawlspace: Entrance'
icon: 'mdi:lightbulb-outline'
secondary_info: last-changed
- entity_id: light.blb_crawlspace_lab
state: 'on'
options:
name: 'Crawlspace: Lab'
icon: 'mdi:lightbulb-outline'
secondary_info: last-changed
<<: *neutral-icon-entity-style
# deck
- entity_id: light.blb_outside_deck
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Deck: Wall'
icon: 'mdi:wall-sconce-flat-outline'
secondary_info: last-changed
<<: *neutral-icon-entity-style
- entity_id: light.sw_deck_ceilinglight
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Deck: Ceiling'
icon: 'mdi:light-recessed'
secondary_info: last-changed
<<: *neutral-icon-entity-style
# driveway
- entity_id: light.group_driveway_lights
state: 'on'
options:
name: 'Driveway'
icon: 'mdi:coach-lamp'
secondary_info: last-changed
<<: *neutral-icon-entity-style
# family room
- entity_id: switch.sw_familyroom_ceilinglight
state: 'on'
options:
name: 'Family Room: Ceiling'
icon: 'mdi:ceiling-light-outline'
secondary_info: last-changed
- entity_id: switch.plg_familyroom_cabinetlight
state: 'on'
options:
name: 'Family Room: Cabinet'
icon: 'mdi:light-recessed'
secondary_info: last-changed
- entity_id: light.blb_familyroom_garland
state: 'on'
options:
name: 'Family Room: Garland'
icon: 'mdi:string-lights'
secondary_info: last-changed
<<: *neutral-icon-entity-style
- entity_id: switch.sw_familyroom_cornerlight
state: 'on'
options:
name: 'Family Room: Corner'
icon: 'mdi:light-recessed'
secondary_info: last-changed
- entity_id: light.sw_familyroom_walllights
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Family Room: Wall Sconce'
icon: 'mdi:wall-sconce-flat-variant-outline'
secondary_info: last-changed
<<: *neutral-icon-entity-style
# garage
- entity_id: switch.sw_garage_ceilingmainlights
state: 'on'
options:
name: 'Garage: Ceiling, Main'
icon: 'mdi:ceiling-light-multiple-outline'
secondary_info: last-changed
- entity_id: switch.sw_garage_plant_relay_1
state: 'on'
options:
name: 'Garage: Plant Light'
icon: 'mdi:ceiling-light-outline'
secondary_info: last-changed
- entity_id: switch.sw_outside_garagesidedoorlight
state: 'on'
options:
name: 'Garage: Side Door'
icon: 'mdi:coach-lamp'
secondary_info: last-changed
# kitchen
- entity_id: light.kitchen_ceiling
state: 'on'
options:
name: 'Kitchen: Ceiling'
icon: 'mdi:light-recessed'
<<: *neutral-icon-entity-style
secondary_info: last-changed
- entity_id: switch.sw_kitchen_sinklight
state: 'on'
options:
name: 'Kitchen: Sink'
icon: 'mdi:light-recessed'
secondary_info: last-changed
- entity_id: light.sw_diningroom_ceilinglight
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Kitchen: Table'
icon: 'mdi:ceiling-light-outline'
secondary_info: last-changed
<<: *neutral-icon-entity-style
- entity_id: switch.plg_kitchen_espressomachine
state: 'on'
options:
name: 'Espresso Machine'
icon: 'mdi:coffee-maker-outline'
secondary_info: last-changed
- entity_id: switch.plg_kitchen_outlet1
state: 'on'
options:
name: 'Kitchen: Kids Room Monitor'
icon: 'mdi:speaker-wireless'
secondary_info: last-changed
# living room
- entity_id: light.sw_livingroom_ceilinglight
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Living Room: Ceiling'
icon: 'mdi:track-light'
secondary_info: last-changed
<<: *neutral-icon-entity-style
# office
- entity_id: switch.sw_office_ceilinglight
state: 'on'
options:
name: "Office: Ceiling"
icon: 'mdi:track-light'
secondary_info: last-changed
- entity_id: switch.sw_office_monitorlightbar
state: 'on'
options:
name: 'Office: Monitor Light'
icon: 'mdi:television-ambient-light'
secondary_info: last-changed
# main bedroom
- entity_id: light.sw_mainbedroom_ceilinglight
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Main Bedroom'
icon: 'mdi:dome-light'
secondary_info: last-changed
<<: *neutral-icon-entity-style
- entity_id: light.blb_main_bedroom_floor_lamp
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Main Bedroom: Lamp'
secondary_info: last-changed
# kids bedroom
- entity_id: light.sw_kidsbedroom_ceilinglight
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Kids Bedroom: Ceiling'
icon: 'mdi:dome-light'
secondary_info: last-changed
<<: *neutral-icon-entity-style
- entity_id: light.blb_kidsbedroom_lamp
state: 'on'
options:
type: 'custom:slider-entity-row'
hide_state: true
name: 'Kids Bedroom: Lamp'
icon: 'mdi:lamp-outline'
secondary_info: last-changed
# laundry
- entity_id: binary_sensor.laundry_washing_machine_state
state: 'on'
options:
name: 'Laundry: Washing Machine'
icon: 'mdi:washing-machine'
secondary_info: last-changed
# porch
- entity_id: light.group_porch_lights
state: 'on'
options:
name: 'Porch'
icon: 'mdi:light-recessed'
secondary_info: last-changed
<<: *neutral-icon-entity-style
- entity_id: switch.rcl_outside_porchsoffit
state: 'on'
options:
name: 'Holiday Lights'
icon: 'mdi:string-lights'
secondary_info: last-changed
# shed
- entity_id: switch.sw_shed_floodlight
state: 'on'
options:
name: 'Shed: Flood'
icon: 'mdi:light-flood-down'
secondary_info: last-changed
- entity_id: switch.plg_shed_utility
state: 'on'
options:
name: 'Shed: Grow Light'
icon: 'mdi:ceiling-light-outline'
secondary_info: last-changed
# stairwell
- entity_id: light.stairwell_ceiling
state: 'on'
options:
name: 'Stairwell'
icon: 'mdi:chandelier'
secondary_info: last-changed
<<: *neutral-icon-entity-style
# entertainment devices active
- type: 'custom:auto-entities'
show_empty: false
card:
type: entities
title: 'Entertainment'
show_header_toggle: false
<<: *entities-overview-header-style
filter:
include:
# tv :: garage
- entity_id: switch.sw_garage_entertainment
state: 'on'
options:
name: 'Garage: TV'
icon: 'mdi:television'
secondary_info: last-changed
# tv :: living room
- entity_id: switch.living_room_entertainment_htpc
state: 'on'
options:
name: 'Living Room: TV'
icon: 'mdi:television'
secondary_info: last-changed
- entity_id: switch.living_room_entertainment_nintendo
state: 'on'
options:
name: 'Living Room: Nintendo'
icon: 'mdi:television'
secondary_info: last-changed
# plex media players :: living room
- entity_id: 'media_player.plex_htpc_living_room'
state: '/(playing|paused)/'
options:
type: 'custom:mini-media-player'
name: 'Living Room: HTPC'
hide:
progress: true
prev: true
next: true
power: true
volume: true
tap_action:
action: call-service
service: media_player.media_play_pause
service_data:
entity_id: this.entity_id
<<: *media-player-card-style
# speakers :: paused
- entity_id: 'media_player.*_speaker'
last_changed: < 2 # minutes
state: 'paused'
attributes:
media_artist: "*"
options:
type: 'custom:mini-media-player'
hide:
next: true
prev: true
power: true
progress: true
source: true
volume: true
<<: *media-player-card-style
# speakers :: playing
- entity_id: 'media_player.*_speaker'
state: playing
attributes:
media_artist: "*"
options:
type: 'custom:mini-media-player'
hide:
prev: true
power: true
progress: true
source: true
<<: *media-player-card-style
# tv :: main bedroom
- entity_id: switch.sw_main_bedroom_entertainment
state: 'on'
options:
name: 'Main Bedroom: TV'
icon: 'mdi:television'
secondary_info: last-changed
# plex media players :: main bedroom
- entity_id: 'media_player.plex_htpc_main_bedroom'
state: '/(playing|paused)/'
options:
type: 'custom:mini-media-player'
name: 'Main Bedroom: HTPC'
hide:
progress: true
prev: true
next: true
power: true
volume: true
tap_action:
action: call-service
service: media_player.media_play_pause
service_data:
entity_id: this.entity_id
<<: *media-player-card-style
sort:
method: name
# doors and windows active
- type: 'custom:auto-entities'
show_empty: false
card:
type: entities
title: 'Doors & Windows'
<<: *entities-overview-header-style
filter: