-
Notifications
You must be signed in to change notification settings - Fork 429
Expand file tree
/
Copy pathui-lovelace.yaml
More file actions
1705 lines (1694 loc) 路 59.1 KB
/
Copy pathui-lovelace.yaml
File metadata and controls
1705 lines (1694 loc) 路 59.1 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
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
title: ARS Home
views:
- icon: mdi:home-assistant
id: home
# Name of the view. Will be used as the tooltip for tab icon
title: Home
# theme: darkorange
cards:
- type: picture-elements
# title: Main Level
image: /local/floorplans/main.jpg
elements:
- type: image
entity: input_boolean.alarm_automation
tap_action:
action: toggle
state_image:
'on': /local/icons/abode_enabled.png
'off': /local/icons/abode_disabled.png
style:
top: 4%
left: 30%
width: 7%
- type: image
entity: input_boolean.tvtime
tap_action:
action: toggle
state_image:
'on': /local/icons/tv_enabled.png
'off': /local/icons/tv_disabled.png
style:
top: 4%
left: 40%
width: 7%
- type: image
entity: switch.security_armed
tap_action:
action: toggle
state_image:
'on': /local/icons/security_armed_red.png
'off': /local/icons/security_disarmed.png
style:
top: 4%
left: 50%
width: 7%
- type: image
entity: input_boolean.homeautomation
tap_action:
action: toggle
state_image:
'on': /local/icons/automation_enabled.png
'off': /local/icons/automation_disabled.png
style:
top: 4%
left: 60%
width: 7%
# Kitchen
- type: image
entity: light.kitchen
tap_action:
action: toggle
image: /local/icons/light_bulb_off.png
state_image:
'on': /local/icons/light_bulb_on.png
state_filter:
'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 48%
left: 11%
width: 7%
padding: 50px 50px 100px 50px
- type: state-icon
entity: binary_sensor.kitchen_leak
style:
top: 42%
left: 21%
- type: state-icon
entity: binary_sensor.powder_room_leak
style:
top: 62%
left: 22%
- type: image
entity: camera.porch
image: /local/icons/camera_porch_streaming.png
state_image:
'recording': /local/icons/camera_porch_recording.png
style:
top: 90%
left: 3%
width: 7%
transform: none
- type: image
entity: camera.sunroom_sunroom
image: /local/icons/camera_patio_streaming.png
state_image:
'recording': /local/icons/camera_patio_recording.png
style:
top: 12%
left: 3%
width: 7%
transform: none
- type: image
entity: camera.pergola_pergola
image: /local/icons/camera_backyard_streaming.png
state_image:
'recording': /local/icons/camera_backyard_recording.png
style:
top: 12%
left: 90%
width: 7%
transform: none
# - type: icon
# icon: mdi:cctv
# entity: camera.backyard
# style:
# top: 11%
# left: 90%
# transform: rotate(60deg)
# --iron-icon-height: 40px
# --iron-icon-width: 40px
# --iron-icon-stroke-color: black
# --iron-icon-fill-color: rgba(50, 50, 50, .75)
- type: image
entity: camera.driveway
image: /local/icons/camera_driveway_streaming.png
state_image:
'recording': /local/icons/camera_driveway_recording.png
style:
top: 81.5%
left: 90%
width: 7%
transform: none
# Living Room
- type: image
entity: light.living_room_lights
tap_action:
action: toggle
hold_action:
action: more-info
image: /local/icons/light_bulb_off.png
state_image:
'on': /local/icons/light_bulb_on.png
state_filter:
'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 38%
left: 50%
width: 7%
padding: 50px 50px 100px 50px
# - type: custom:circle-sensor-card
# entity: sensor.livingroom_temp_rounded
# max: 100
# min: 60
# stroke_width: 10
# font_size: 11px
# gradient: true
# color_stops:
# 70: '#55FF55'
# 80: '#5555FF'
# 90: '#FF5555'
# style:
# top: 43%
# left: 50%
# width: 27px
# height: 27px
# 'font-weight': bold
# 'font-family': Helvetica
- type: state-label
entity: sensor.livingroom_temp_rounded
style:
top: 43%
left: 50%
background: center / contain no-repeat url("/local/icons/ecobee_blank.png")
text-align: center
font-size: 12px
color: white
font-family: Helvetica
# 'display': block
# 'overflow': hidden
# 'background-color': gray
# 'background-color': red
# 'border-radius': 100%
# 'width': 27px
# 'height': 27px
# 'border-radius': 50%
# 'width': 20px
# 'height': 20px
# 'opacity': 0.8
- type: state-icon
entity: binary_sensor.living_room_motion
style:
top: 27%
left: 50%
- type: state-icon
entity: binary_sensor.back_door_entry_door
style:
top: 17%
left: 15%
- type: image
entity: media_player.living_room_tv
tap_action:
action: toggle
image: /local/icons/tv_off2.png
state_image:
'on': /local/icons/tv_on2.png
state_filter:
'on': drop-shadow(-5px 0 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 29%
left: 68.3%
width: 2.5%
padding: 10px 0 10px 30px
# Guest Room
- type: state-icon
entity: binary_sensor.guest_room_motion
style:
top: 27%
left: 85%
- type: state-icon
entity: binary_sensor.guest_bathroom_leak
style:
top: 42%
left: 85%
# Porch
# - type: state-icon
# tap_action: toggle
# entity: switch.wemoporch
# style:
# top: 95%
# left: 22%
- type: image
entity: switch.wemoporch
tap_action:
action: toggle
image: /local/icons/light_bulb_off.png
state_image:
'on': /local/icons/light_bulb_on.png
state_filter:
'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 93.5%
left: 20%
width: 7%
padding: 10px
- type: state-icon
entity: binary_sensor.g4_doorbell_pro_motion
style:
top: 95%
left: 32%
# Garage
- type: state-icon
entity: binary_sensor.mud_room_door_4
style:
top: 64%
left: 56%
- type: image
entity: light.lifx5
tap_action:
action: toggle
image: /local/icons/light_bulb_off.png
state_image:
'on': /local/icons/light_bulb_on.png
state_filter:
'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 62%
left: 78%
width: 7%
padding: 10px
- type: state-icon
entity: binary_sensor.garage_water_moisture
style:
top: 50%
left: 94%
- type: image
entity: switch.driveway
tap_action:
action: toggle
image: /local/icons/light_off.png
state_image:
'on': /local/icons/light_on.png
state_filter:
'on': drop-shadow(-5px -5px 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 79.5%
left: 72%
width: 7%
padding: 10px
transform: none
- type: image
entity: cover.garagedoor
tap_action:
action: toggle
image: /local/icons/garage_door_closed.png
state_image:
'open': /local/icons/garage_door_open.png
'closed': /local/icons/garage_door_closed.png
style:
top: 71%
left: 74%
width: 7%
transform: none
# Study
- type: state-label
entity: sensor.study_temp_rounded
style:
top: 80%
left: 49%
background-color: gray
background: center / contain no-repeat url("/local/icons/ecobee_blank.png")
# 'background-color': red
# 'border-radius': 100%
text-align: center
font-size: 12px
color: white
font-family: Helvetica
display: block
overflow: hidden
- type: state-icon
entity: binary_sensor.sunroom_motion_3
style:
top: 10%
left: 16%
- type: state-icon
entity: binary_sensor.sun_room_entry_door
style:
top: 7%
left: 20%
transform: rotate(-90deg)
# Dining
# - type: custom:thermostat-card
# entity: climate.downstairs
# no_card: true
# hvac:
# attribute: operation
# style:
# top: 78%
# left: 15%
# width: 50px
# height: 50px
- type: state-icon
entity: binary_sensor.front_door
style:
top: 89%
left: 32%
- type: picture-elements
# title: Second Level
image: /local/floorplans/second.jpg
elements:
- type: state-icon
entity: binary_sensor.upstairs_motion_sensor
style:
top: 40%
left: 35%
# Master
# - type: custom:thermostat-card
# entity: climate.bedroom
# no_card: true
# hvac:
# attribute: operation
# style:
# top: 79%
# left: 92%
# width: 50px
# height: 50px
- type: state-icon
entity: binary_sensor.master_motion
style:
top: 55%
left: 80%
- type: image
entity: light.master_lights
tap_action:
action: toggle
hold_action:
action: more-info
image: /local/icons/light_bulb_off.png
state_image:
'on': /local/icons/light_bulb_on.png
state_filter:
'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 66%
left: 80%
width: 7%
padding: 10px
- type: image
entity: media_player.panasonic_viera_tv
tap_action:
action: toggle
image: /local/icons/tv_off2.png
state_image:
'on': /local/icons/tv_on2.png
state_filter:
'on': drop-shadow(-5px 0 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 54%
left: 64.25%
width: 2%
transform: rotate(180deg)
padding: 10px 0 10px 30px
# Kids Room
- type: image
entity: light.kids_room_lights
tap_action:
action: toggle
image: /local/icons/light_bulb_off.png
state_image:
'on': /local/icons/light_bulb_on.png
state_filter:
'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
'off': brightness(80%) saturate(0.8)
style:
top: 21%
left: 16%
width: 7%
padding: 50px 50px 100px 50px
- type: state-icon
entity: binary_sensor.kids_room_moisture
style:
top: 63%
left: 12%
# Laundry
- type: state-icon
entity: binary_sensor.laundry_leak
style:
top: 25%
left: 66%
# Kids room
# - type: custom:thermostat-card
# entity: climate.upstairs
# no_card: true
# hvac:
# attribute: operation
# style:
# top: 18%
# left: 15%
# width: 50px
# height: 50px
# - type: 'custom:config-template-card'
# entities:
# - sensor.nasdaq_futures_change
# - sensor.dow_futures_change
# - sensor.s_p_futures_change
# - sensor.portfoliochange2
# variables:
# - parseFloat(states['sensor.portfoliochange2'].state)
# - parseFloat(states['sensor.dow_futures_change_pct'].state)
# - parseFloat(states['sensor.s_p_futures_change_pct'].state)
# - parseFloat(states['sensor.nasdaq_futures_change_pct'].state)
# card:
# type: 'custom:hui-entities-card'
# title: Investments
# show_header_toggle: false
# entities:
# - sensor.pc_networth
# - type: custom:card-modder
# entity: sensor.pc_investment
# style:
# --paper-item-icon-color: "${vars[0] < 0 ? 'rgb(194, 39, 45)' : 'rgb(37, 145, 60)'}"
# card:
# type: "custom:secondaryinfo-entity-row"
# entity: sensor.pc_investment
# secondary_info: "${'Change: ' + vars[0]}"
# icon: "${vars[0] > 0 ? 'mdi:arrow-up-bold-circle' : 'mdi:arrow-down-bold-circle' }"
# - type: custom:card-modder
# entity: sensor.dow_futures
# style:
# --paper-item-icon-color: "${
# vars[1] < -2.5 ? 'rgb(151, 26, 30)' :
# vars[1] < -2.0 ? 'rgb(194, 39, 45)' :
# vars[1] < -1.5 ? 'rgb(236, 27, 33)' :
# vars[1] < -1.0 ? 'rgb(244, 101, 35)' :
# vars[1] < -0.5 ? 'rgb(248, 147, 29)' :
# vars[1] < 0 ? 'rgb(255, 194, 15)' :
# vars[1] = 0 ? 'rgb(20, 142, 153)' :
# vars[1] < 0.5 ? 'rgb(202, 219, 43)' :
# vars[1] < 1.0 ? 'rgb(142, 198, 65)' :
# vars[1] < 1.5 ? 'rgb(106, 158, 47)' :
# vars[1] < 2 ? 'rgb(37, 145, 60)' : 'rgb(0, 111, 58)'}"
# card:
# type: "custom:secondaryinfo-entity-row"
# entity: sensor.dow_futures
# secondary_info: "${'Change: ' + states['sensor.dow_futures_change'].state + ' (' + vars[1] + '%)'}"
# icon: "${vars[1] > 0 ? 'mdi:arrow-up-bold-circle' : 'mdi:arrow-down-bold-circle' }"
# - type: custom:card-modder
# entity: sensor.s_p_futures
# style:
# --paper-item-icon-color: "${
# vars[2] < -2.5 ? 'rgb(151, 26, 30)' :
# vars[2] < -2.0 ? 'rgb(194, 39, 45)' :
# vars[2] < -1.5 ? 'rgb(236, 27, 33)' :
# vars[2] < -1.0 ? 'rgb(244, 101, 35)' :
# vars[2] < -0.5 ? 'rgb(248, 147, 29)' :
# vars[2] < 0 ? 'rgb(255, 194, 15)' :
# vars[2] = 0 ? 'rgb(20, 142, 153)' :
# vars[2] < 0.5 ? 'rgb(202, 219, 43)' :
# vars[2] < 1.0 ? 'rgb(142, 198, 65)' :
# vars[2] < 1.5 ? 'rgb(106, 158, 47)' :
# vars[2] < 2 ? 'rgb(37, 145, 60)' : 'rgb(0, 111, 58)'}"
# card:
# type: "custom:secondaryinfo-entity-row"
# entity: sensor.s_p_futures
# secondary_info: "${'Change: ' + states['sensor.s_p_futures_change'].state + ' (' + vars[2] + '%)'}"
# icon: "${vars[2] > 0 ? 'mdi:arrow-up-bold-circle' : 'mdi:arrow-down-bold-circle' }"
# - type: custom:card-modder
# entity: sensor.nasdaq_futures
# style:
# --paper-item-icon-color: "${
# vars[3] < -2.5 ? 'rgb(151, 26, 30)' :
# vars[3] < -2.0 ? 'rgb(194, 39, 45)' :
# vars[3] < -1.5 ? 'rgb(236, 27, 33)' :
# vars[3] < -1.0 ? 'rgb(244, 101, 35)' :
# vars[3] < -0.5 ? 'rgb(248, 147, 29)' :
# vars[3] < 0 ? 'rgb(255, 194, 15)' :
# vars[3] = 0 ? 'rgb(20, 142, 153)' :
# vars[3] < 0.5 ? 'rgb(202, 219, 43)' :
# vars[3] < 1.0 ? 'rgb(142, 198, 65)' :
# vars[3] < 1.5 ? 'rgb(106, 158, 47)' :
# vars[3] < 2 ? 'rgb(37, 145, 60)' : 'rgb(0, 111, 58)'}"
# card:
# type: "custom:secondaryinfo-entity-row"
# entity: sensor.nasdaq_futures
# secondary_info: "${'Change: ' + states['sensor.nasdaq_futures_change'].state + ' (' + vars[3] + '%)'}"
# icon: "${vars[3] > 0 ? 'mdi:arrow-up-bold-circle' : 'mdi:arrow-down-bold-circle' }"
# - sensor.10_year_treasury
- type: entities
title: Information
show_header_toggle: false
entities:
- sensor.plex
- sensor.usdinr
- type: cast
name: Home
view: home
hide_if_unavailable: true
- type: entities
title: Lights
entities:
- entity: light.living_room_lights
toggle: true
- entity: light.sunroom_lights
state_header: Light
type: custom:multiple-entity-row
entities:
- entity: input_boolean.sunroomeffects
name: Colorloop
toggle: true
toggle: true
- entity: light.deck_floor
type: custom:slider-entity-row
toggle: true
- entity: group.deck_wall_lights
state_header: Light
type: custom:multiple-entity-row
entities:
- entity: input_boolean.deckeffects
name: Colorloop
toggle: true
toggle: true
- entity: light.pergola
toggle: true
- entity: light.kitchen
type: custom:slider-entity-row
toggle: true
- type: divider
- entity: light.master_1
type: custom:slider-entity-row
toggle: true
- entity: light.master_2
type: custom:slider-entity-row
toggle: true
- entity: light.master_3
type: custom:slider-entity-row
toggle: true
- type: divider
- entity: light.wb4_d
type: custom:slider-entity-row
toggle: true
- entity: light.wb4_d_3
type: custom:slider-entity-row
toggle: true
- entity: light.kp1
type: custom:slider-entity-row
toggle: true
- type: entities
title: Switches
entities:
- entity: switch.wemoswitch
secondary_info: last-changed
state_color: true
- entity: switch.wemoinsight
type: custom:multiple-entity-row
name: Wemo Insight
toggle: True
state_color: true
secondary_info: last-changed
entities:
- entity: sensor.wemoinsight_current_power
unit: w
name: Power
- entity: switch.smart_wifi
type: custom:multiple-entity-row
name: Kasa Office
toggle: True
state_color: true
secondary_info: last-changed
entities:
- entity: sensor.kasa_smart_plug_2_current
unit: A
name: Current
- entity: sensor.kasa_smart_plug_2_current_consumption
unit: w
name: Power
- entity: switch.kasa_plug_3
type: custom:multiple-entity-row
name: Kasa 3
toggle: True
state_color: true
secondary_info: last-changed
entities:
- entity: sensor.kasa_plug_3_current
unit: A
name: Current
- entity: sensor.kasa_plug_3_current_consumption
unit: w
name: Power
- entity: switch.aeon_switch
secondary_info: last-changed
state_color: true
- entity: switch.wifi_plug
secondary_info: last-changed
state_color: true
- entity: switch.study_fan
type: "custom:secondaryinfo-entity-row"
secondary_info: '[[ sensor.rpi_cpu_thermal_1_temperature ]] 脗掳F'
state_color: true
- entity: switch.attic_switch_socket
state_color: true
- entity: switch.smart_socket_5
state_color: true
- entity: switch.socket_1
state_color: true
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: tile
entity: alarm_control_panel.simplisafe_2
features:
- type: "alarm-modes"
modes:
- armed_home
- armed_away
- disarmed
name: SimpliSafe
icon: mdi:shield-home
layout: vertical
- type: entities
title: Unifi Doorbell
show_header_toggle: false
entities:
- type: custom:mushroom-entity-card
entity: binary_sensor.front_door_doorbell
secondary_info: last-changed
entity: binary_sensor.g4_doorbell_pro_motion
secondary_info: last-changed
- entity: binary_sensor.front_door_doorbell
secondary_info: last-changed
- entity: binary_sensor.g4_doorbell_pro_motion
secondary_info: last-changed
- type: horizontal-stack
cards:
- type: entity-button
name: Patio
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.cast_patio
entity: script.cast_patio
icon: mdi:cast-connected
- type: entity-button
name: Porch
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.cast_porch
entity: script.cast_porch
icon: mdi:cast-connected
- type: entity-button
name: Driveway
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.cast_driveway
entity: script.cast_driveway
icon: mdi:cast-connected
- type: entity-button
name: Backyard
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.cast_backyard
entity: script.cast_backyard
icon: mdi:cast-connected
- type: entity-button
name: All
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.cast_cycle_cameras
entity: script.cast_cycle_cameras
icon: mdi:cast-connected
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: tile
entity: climate.bedroom
features:
- type: "climate-hvac-modes"
hvac_modes:
- heat
- cool
- "off"
- fan
- type: tile
entity: climate.upstairs
features:
- type: "climate-hvac-modes"
hvac_modes:
- heat
- cool
- "off"
- fan
- type: horizontal-stack
cards:
- type: tile
entity: climate.downstairs
features:
- type: "climate-hvac-modes"
hvac_modes:
- heat
- cool
- "off"
- fan
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Alok
secondary: |
{% set speed = states('sensor.alok_composite_speed') | float(0) %}
{% if speed > 1 %}
馃殫 {{ speed | round(0) }} mph
{% elif is_state('person.alok', 'home') %}
Home
{% elif states('person.alok') not in ['unknown', 'unavailable', 'not_home'] %}
{{ states('person.alok') | replace('_', ' ') | title }}
{% else %}
Away
{% endif %}
picture: "{{ state_attr('person.alok', 'entity_picture') }}"
entity: person.alok
icon_color: |
{% set speed = states('sensor.alok_composite_speed') | float(0) %}
{% if speed > 1 %} orange
{% elif is_state('person.alok', 'home') %} green
{% else %} grey
{% endif %}
badge_icon: |
{% set speed = states('sensor.alok_composite_speed') | float(0) %}
{% if speed > 1 %} mdi:car
{% elif is_state('person.alok', 'home') %} mdi:home
{% else %} mdi:map-marker
{% endif %}
badge_color: |
{% set speed = states('sensor.alok_composite_speed') | float(0) %}
{% if speed > 1 %} orange
{% elif is_state('person.alok', 'home') %} green
{% else %} grey
{% endif %}
fill_container: true
tap_action:
action: more-info
- type: custom:mushroom-template-card
primary: Rashmi
secondary: |
{% set speed = states('sensor.rashmi_composite_speed') | float(0) %}
{% if speed > 1 %}
馃殫 {{ speed | round(0) }} mph
{% elif is_state('person.rashmi', 'home') %}
Home
{% elif states('person.rashmi') not in ['unknown', 'unavailable', 'not_home'] %}
{{ states('person.rashmi') | replace('_', ' ') | title }}
{% else %}
Away
{% endif %}
picture: "{{ state_attr('person.rashmi', 'entity_picture') }}"
entity: person.rashmi
icon_color: |
{% set speed = states('sensor.rashmi_composite_speed') | float(0) %}
{% if speed > 1 %} orange
{% elif is_state('person.rashmi', 'home') %} green
{% else %} grey
{% endif %}
badge_icon: |
{% set speed = states('sensor.rashmi_composite_speed') | float(0) %}
{% if speed > 1 %} mdi:car
{% elif is_state('person.rashmi', 'home') %} mdi:home
{% else %} mdi:map-marker
{% endif %}
badge_color: |
{% set speed = states('sensor.rashmi_composite_speed') | float(0) %}
{% if speed > 1 %} orange
{% elif is_state('person.rashmi', 'home') %} green
{% else %} grey
{% endif %}
fill_container: true
tap_action:
action: more-info
- type: custom:mushroom-template-card
primary: Arnav
secondary: |
{% set speed = states('sensor.arnav_composite_speed') | float(0) %}
{% if speed > 1 %}
馃殫 {{ speed | round(0) }} mph
{% elif is_state('person.arnav', 'home') %}
Home
{% elif states('person.arnav') not in ['unknown', 'unavailable', 'not_home'] %}
{{ states('person.arnav') | replace('_', ' ') | title }}
{% else %}
Away
{% endif %}
picture: "{{ state_attr('person.arnav', 'entity_picture') }}"
entity: person.arnav
icon_color: |
{% set speed = states('sensor.arnav_composite_speed') | float(0) %}
{% if speed > 1 %} orange
{% elif is_state('person.arnav', 'home') %} green
{% else %} grey
{% endif %}
badge_icon: |
{% set speed = states('sensor.arnav_composite_speed') | float(0) %}
{% if speed > 1 %} mdi:car
{% elif is_state('person.arnav', 'home') %} mdi:home
{% else %} mdi:map-marker
{% endif %}
badge_color: |
{% set speed = states('sensor.arnav_composite_speed') | float(0) %}
{% if speed > 1 %} orange
{% elif is_state('person.arnav', 'home') %} green
{% else %} grey
{% endif %}
fill_container: true
tap_action:
action: more-info
- icon: mdi:weather-cloudy
id: weather
title: Weather
cards:
- type: weather-forecast
entity: weather.home
show_forecast: true
- type: entities
title: Weather
show_header_toggle: false
entities:
- weather.home
- type: custom:vertical-stack-in-card
cards:
- type: entities
title: Room Sensors
show_header_toggle: false
entities:
- entity: binary_sensor.guest_room_motion
type: custom:multiple-entity-row
name: Guest Room
secondary_info: last-changed
show_state: false
entities:
- entity: sensor.guest_room_illuminance
name: Illuminance
- entity: sensor.guest_motion_device_temperature
name: Temp
format: precision0
- entity: sensor.study_temperature_2
type: custom:multiple-entity-row
name: Study
secondary_info: last-changed
show_state: false
entities:
- entity: sensor.study_humidity
name: Humidity
- entity: sensor.study_temperature_2
name: Temp
format: precision0
- entity: binary_sensor.sunroom_motion_3
type: custom:multiple-entity-row
name: Sun Room
secondary_info: last-changed
show_state: false
entities:
- entity: sensor.sunroom_humidity
name: Humidity
- entity: sensor.sunroom_temperature
name: Temp
format: precision0
- entity: binary_sensor.living_room_motion
type: custom:multiple-entity-row
name: Living Room
secondary_info: last-changed
show_state: false
entities:
- entity: sensor.vent_humidity_sensor
name: Vent Humidity
format: precision0
- entity: sensor.vent
name: Vent Temp
format: precision0
- entity: sensor.downstairs_humidity
name: Humidity
format: precision0
- entity: sensor.living_room_temperature_homekit
name: Temp
format: precision0
- entity: binary_sensor.master_motion
type: custom:multiple-entity-row
name: Master
secondary_info: last-changed
show_state: false
entities:
- entity: sensor.master_vent_humidity_sensor
name: Vent Humidity
format: precision0
- entity: sensor.master_vent
name: Vent Temp
format: precision0
- entity: sensor.bedroom_humidity
name: Humidity
- entity: sensor.master_temperature
name: Temp
format: precision0
- type: horizontal-stack
cards:
- type: custom:button-card
name: Laundry
entity: binary_sensor.laundry_leak
styles:
card:
- font-size: 12px
state:
- value: 'on'
icon: mdi:water
color: 'red'
- value: 'off'
icon: mdi:water-off
- type: custom:button-card
name: Kitchen Sink
entity: binary_sensor.kitchen_leak
styles:
card:
- font-size: 12px
state:
- value: 'on'
icon: mdi:water
color: 'red'
- value: 'off'
icon: mdi:water-off
- type: custom:button-card
name: Powder Room
entity: binary_sensor.powder_room_leak
styles:
card:
- font-size: 12px
state:
- value: 'on'
icon: mdi:water
color: 'red'
- value: 'off'
icon: mdi:water-off
- type: custom:button-card
name: Guest Bath
entity: binary_sensor.guest_bathroom_leak
styles: