-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.yaml
More file actions
9191 lines (9054 loc) · 299 KB
/
dashboard.yaml
File metadata and controls
9191 lines (9054 loc) · 299 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
views:
- title: Shady Birch Home Assistant
type: sections
icon: mdi:tablet-dashboard
cards: []
layout: {}
sections:
- type: grid
cards:
- type: markdown
content: '## ──── System & Climate ────'
card_mod:
style: |
ha-card {
--ha-card-background: none;
font-size: 12pt;
font-weight: 700;
font-family: Roboto;
padding: 0px;
margin-top: -10px;
margin-bottom: -5px;
border: none;
text-align: center;
color: #705033;
}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Home
secondary: ''
icon: mdi:home
icon_color: >-
{% set sensor_value =
states('sensor.flume_sensor_shady_birch_current') | float(0)
%}
{% if is_state('binary_sensor.breaker_28_group', 'on') %}
#ffbf00
{% elif sensor_value > 0.01 %}
#0000ff
{% else %}
#00cc00
{% endif %}
tap_action:
action: navigate
navigation_path: /dashboard-tablet/home2
hold_action:
action: none
double_tap_action:
action: none
badge_icon: |-
{% if is_state('binary_sensor.breaker_28_group', 'on')
%}
mdi:light-switch-off
{% endif %}
badge_color: '#ff0000'
layout: vertical
- type: custom:mushroom-template-card
primary: Security
secondary: ''
icon: mdi:security
icon_color: >-
{% set lock_1 = is_state('lock.front_door_lock', 'locked') %}
{% set lock_2 = is_state('lock.kitchen_door_lock', 'locked')
%} {% set lock_3 = is_state('lock.front_door_lock', 'locked')
%} {% if lock_1 and lock_2 and lock_3 %}
#00cc00
{% else %}
#ffbf00
{% endif %}
tap_action:
action: navigate
navigation_path: /dashboard-tablet/security2
hold_action:
action: more-info
double_tap_action:
action: more-info
layout: vertical
badge_icon: >-
{% set lock_1 = is_state('lock.front_door_lock', 'unlocked')
%} {% set lock_2 = is_state('lock.kitchen_door_lock',
'unlocked') %} {% set lock_3 =
is_state('lock.front_door_lock', 'unlocked') %} {% if lock_1
or lock_2 or lock_3 %}
mdi:lock-open-alert
{% else %}
{% endif %}
badge_color: >-
{% set lock_1 = is_state('lock.front_door_lock', 'unlocked')
%} {% set lock_2 = is_state('lock.kitchen_door_lock',
'unlocked') %} {% set lock_3 =
is_state('lock.front_door_lock', 'unlocked') %} {% if lock_1
or lock_2 or lock_3 %}
#ff0000
{% else %}
{% endif %}
- type: custom:mushroom-template-card
primary: Network
secondary: ''
icon: >-
{% if is_state('binary_sensor.er605_port_1_internet_link',
'off') %}
mdi:lan-disconnect
{% elif is_state('sensor.holonet_wap_device_status',
'connected') and
is_state('sensor.millennium_falcon_device_status', 'connected') and
is_state('sensor.razor_crest_device_status', 'connected') %}
mdi:lan
{% else %}
mdi:lan-pending
{% endif %}
badge_color: |-
{% if
is_state('update.home_assistant_operating_system_update', 'on') or
is_state('update.home_assistant_core_update', 'on') or
is_state('update.pi_hole_core_update_available', 'on') or
is_state('update.millennium_falcon_firmware', 'on') or
is_state('update.razor_crest_firmware', 'on') or
is_state('update.holonet_wap_firmware', 'on') or
is_state('update.er605_firmware', 'on')
%}
#ffbf00
{% endif %}
icon_color: >-
{% if is_state('binary_sensor.er605_port_1_internet_link',
'off') %}
#ff0000
{% elif is_state('sensor.holonet_wap_device_status',
'connected') and
is_state('sensor.millennium_falcon_device_status', 'connected') and
is_state('sensor.razor_crest_device_status', 'connected') and
is_state('sensor.family_room_ups_status', 'connected')%}
#00cc00
{% else %}
#ffbf00
{% endif %}
layout: vertical
grid_options:
columns: 3
rows: 2
badge_icon: |-
{% if
is_state('update.home_assistant_operating_system_update', 'on') or
is_state('update.home_assistant_core_update', 'on') or
is_state('update.pi_hole_core_update_available', 'on') or
is_state('update.millennium_falcon_firmware', 'on') or
is_state('update.razor_crest_firmware', 'on') or
is_state('update.holonet_wap_firmware', 'on') or
is_state('update.er605_firmware', 'on')
%}
mdi:package-up
{% endif %}
entity: binary_sensor.er605_port_1_online_detection
tap_action:
action: navigate
navigation_path: /dashboard-tablet/network2
hold_action:
action: none
double_tap_action:
action: none
- type: custom:clock-weather-card
entity: weather.my_ecobee
sun_entity: sun.sun
weather_icon_type: line
animated_icon: true
forecast_rows: 5
locale: en-US
time_pattern: HH:mm
time_format: 12
date_pattern: cccc, d.MM.yy
hide_today_section: false
hide_forecast_section: false
show_humidity: true
hide_clock: true
hide_date: true
hourly_forecast: false
use_browser_time: false
time_zone: null
show_decimal: true
apparent_sensor: sensor.real_feel_temperature
aqi_sensor: sensor.air_quality_index
visibility:
- condition: screen
media_query: '(min-width: 768px)'
- type: custom:mushroom-climate-card
entity: climate.my_ecobee
show_temperature_control: true
hvac_modes:
- auto
- heat_cool
- heat
- cool
grid_options:
columns: 12
rows: 2
fill_container: true
name: 'Thermostat '
primary_info: name
secondary_info: state
tap_action:
action: more-info
hold_action:
action: more-info
double_tap_action:
action: more-info
collapsible_controls: true
layout: vertical
card_mod:
style:
mushroom-state-info$: |
.container {
--card-secondary-font-size: 16px;
--card-primary-font-size: 18px;
margin-bottom: -10px;
margin-top: 0px;
}
.: |
ha-state-icon {
--icon-symbol-size: 50px;
- type: grid
cards:
- type: markdown
content: '## ──── Downstairs ────'
card_mod:
style: |
ha-card {
--ha-card-background: none;
font-size: 12pt;
font-weight: 700;
font-family: Roboto;
padding: 0px;
margin-top: -10px;
margin-bottom: -5px;
border: none;
text-align: center;
color: #705033;
}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Foyer
secondary: ''
icon: mdi:coat-rack
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/foyer2
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.foyer_chandelier', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.foyer_chandelier
- type: custom:mushroom-template-card
primary: Office
secondary: ''
icon: mdi:monitor
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/office2
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.sonoff_100170fd1f_1', 'on') %}
#ffba77
{% elif is_state('fan.sonoff_100170fd1f', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.sonoff_100170fd1f_1
badge_icon: |-
{% if is_state('fan.sonoff_100170fd1f', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.sonoff_100170fd1f', 'on') %}
#00cc00
{% endif %}
- type: custom:mushroom-template-card
primary: Dining Room
secondary: ''
icon: phu:rooms-dining
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/dining-room2
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.dining_room_chandelier_2', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.dining_room_chandelier_2
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Kitchen
secondary: '{{states(''sensor.kitchen_temperature'')}}ºF'
icon: phu:rooms-kitchen
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/kitchen2
hold_action:
action: more-info
icon_color: >-
{% set sleep_mode =
is_state('switch.adaptive_lighting_sleep_mode_kitchen_ceiling',
'on') %}
{% set kitchen_lights_on =
is_state('light.kitchen_ceiling_lights', 'on') %}
{% set bar_lights_on = is_state('light.bar_lights', 'on') %}
{% set nook_lights_on =
is_state('light.breakfast_nook_chandelier', 'on') %}
{% if sleep_mode and (kitchen_lights_on or nook_lights_on) %}
#ff0000
{% elif kitchen_lights_on or bar_lights_on or nook_lights_on
%}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
entity: light.kitchen_all
double_tap_action:
action: toggle
badge_icon: >-
{% if is_state('fan.simpleconnect_fan_e98ac5_hunter_fan',
'on') %}
mdi:fan
{% endif %}
badge_color: >-
{% if is_state('fan.simpleconnect_fan_e98ac5_hunter_fan',
'on') %}
#00cc00
{% endif %}
- type: custom:mushroom-template-card
primary: Family Room
secondary: '{{states(''sensor.my_ecobee_temperature'')}}ºF'
icon: phu:rooms-living
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/family-room-2
hold_action:
action: more-info
icon_color: |
{% set active = [
'light.family_room_ceiling',
'light.family_room_floods',
'light.gallery_lights_2',
'media_player.family_room_apple_tv',
'media_player.family_room_homepod',
'media_player.marantz_nr1506',
'switch.family_room_sub_plug'
] %}
{% if active | select('is_state', 'on') | list | count > 0 or
active[3] | is_state('playing') or
active[4] | is_state('playing') %}
#ffba77
{% endif %}
multiline_secondary: false
fill_container: false
double_tap_action:
action: toggle
entity: light.family_room_ceiling
badge_color: |-
{% if is_state('fan.family_room_ceiling_fan', 'on') %}
#00cc00
{% endif %}
badge_icon: |-
{% if is_state('fan.family_room_ceiling_fan', 'on') %}
mdi:fan
{% endif %}
- type: custom:mushroom-template-card
primary: Sun Room
secondary: '{{states(''sensor.sun_room_door_sensor_device_temperature'')}}ºF'
icon: mdi:billiards
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/sun-room2
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.sun_room_ceiling_lights', 'on') or
is_state('light.sun_room_flood_lights', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.sun_room_ceiling_lights_2
badge_icon: |-
{% if is_state('fan.sunroom_ceiling_fan', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.sunroom_ceiling_fan', 'on') %}
#00cc00
{% endif %}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Half Bath
secondary: ''
icon: phu:rooms-toilet
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/half-bath2
hold_action:
action: more-info
icon_color: |-
{% if is_state('switch.half_bath_vanity_lights', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: true
double_tap_action:
action: toggle
entity: switch.half_bath_vanity_lights
- type: custom:mushroom-template-card
primary: Hallway
secondary: ''
icon: mdi:image-frame
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/hallway2
hold_action:
action: more-info
icon_color: |-
{% if is_state('switch.hallway_lights', 'on') %}
#ffba77
{% endif %}
multiline_secondary: false
fill_container: true
entity: switch.hallway_lights
double_tap_action:
action: toggle
- type: custom:mushroom-template-card
primary: Laundry
secondary: '{{states(''sensor.laundry_sensor_temp_offset'')}}ºF'
icon: phu:rooms-laundry-room
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/laundry-room2
hold_action:
action: more-info
icon_color: |-
{% if is_state('switch.laundry_room_light', 'on') %}
#ffba77
{% elif is_state('input_boolean.laundry_cycle', 'on') %}
blue
{% endif %}
multiline_secondary: true
fill_container: true
double_tap_action:
action: toggle
entity: switch.laundry_room_light
- type: custom:gap-card
height: 22
visibility:
- condition: screen
media_query: '(min-width: 768px)'
- type: markdown
content: '## ──── Upstairs ────'
card_mod:
style: |
ha-card {
--ha-card-background: none;
font-size: 12pt;
font-weight: 700;
font-family: Roboto;
padding: 0px;
margin-top: -10px;
margin-bottom: -5px;
border: none;
text-align: center;
color: #705033;
}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Rocky
secondary: '{{states(''sensor.rocky_s_room_sensor_temp_offset'')}}ºF'
icon: phu:rooms-bedroom
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/rocky2
hold_action:
action: more-info
icon_color: |-
{% if [
states('light.rockys_ceiling_fan_light'),
states('switch.usb_power_brick'),
states('switch.subwoofer_plug'),
states('media_player.rockys_room_atv'),
states('light.bedside_lamp'),
states('light.rockys_downlights')
] | select('in', ['on', 'playing']) | list | count > 0 %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.rockys_ceiling_fan_light
badge_icon: |-
{% if is_state('fan.rockys_ceiling_fan', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.rockys_ceiling_fan', 'on') %}
#00cc00
{% endif %}
- type: custom:mushroom-template-card
primary: Judy
secondary: '{{states(''sensor.judy_s_room_sensor_temp_offset'')}}ºF'
icon: phu:rooms-bedroom
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/judy2
hold_action:
action: more-info
icon_color: >-
{% if is_state('light.judys_room_lights', 'on') or
is_state('media_player.judys_room_2', 'playing') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.judys_room_lights
badge_icon: |-
{% if is_state('fan.judys_room_ceiling_fan', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.judys_room_ceiling_fan', 'on') %}
#00cc00
{% endif %}
- type: custom:mushroom-template-card
primary: Office
secondary: '{{states(''sensor.craft_room_temperature'')}}ºF'
icon: phu:rooms-studio
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/judys-office
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.craft_room_main_lights', 'on') %}
#ffba77
{% elif is_state('light.craft_room_desk_lights', 'on') %}
#ffba77
{% elif is_state('fan.craft_room_ceiling_fan', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.craft_room_main_lights
badge_icon: |-
{% if is_state('fan.craft_room_ceiling_fan', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.craft_room_ceiling_fan', 'on') %}
#00cc00
{% endif %}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Stairs
secondary: '{{states(''sensor.stairway_sensor_offset'')}}ºF'
icon: phu:rooms-staircase
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/stairway2
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.stairway_lights', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
entity: light.stairway_lights
double_tap_action:
action: toggle
- type: custom:mushroom-template-card
primary: Guest Bath
secondary: >-
{{states('sensor.guest_bath_window_sensor_device_temperature')}}ºF
icon: phu:rooms-bathroom
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/guest-bathroom2
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.upstairs_bathroom_light', 'on') %}
amber
{% endif %}
multiline_secondary: true
fill_container: false
entity: light.upstairs_bathroom_light
double_tap_action:
action: toggle
- type: custom:mushroom-template-card
primary: Guest Room
secondary: '{{states(''sensor.guest_room_temperature'')}}ºF'
icon: phu:rooms-bedroom
icon_color: |-
{% if is_state('light.guest_room_main_lights', 'on') or
is_state('light.guest_room_lamp', 'on') %}
#ffba77
{% endif %}
tap_action:
action: navigate
navigation_path: /dashboard-tablet/guest-room2
hold_action:
action: more-info
double_tap_action:
action: toggle
layout: vertical
entity: light.guest_room_main_lights
badge_icon: |-
{% if is_state('fan.front_guest_room_ceiling_fan', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.front_guest_room_ceiling_fan', 'on') %}
#00cc00
{% endif %}
- type: grid
cards:
- type: markdown
content: '## ──── Outside ────'
card_mod:
style: |
ha-card {
--ha-card-background: none;
font-size: 12pt;
font-weight: 700;
font-family: Roboto;
padding: 0px;
margin-top: -10px;
margin-bottom: -5px;
border: none;
text-align: center;
color: #705033;
}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Porch
secondary: ''
icon: >-
{% if is_state('binary_sensor.front_door_sensor_contact',
'on') %}
mdi:door-open
{% else %}
phu:rooms-front-door
{% endif %}
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/porch2
hold_action:
action: navigate
navigation_path: /dashboard-tablet/porch2
icon_color: >-
{% if is_state('light.porch_bulb', 'on') %}
#ffba77
{% elif is_state('binary_sensor.front_door_sensor_contact',
'on') %}
#ffbf00
{% endif %}
multiline_secondary: true
fill_container: false
entity: light.porch_bulb
double_tap_action:
action: more-info
badge_icon: |-
{% if is_state('fan.deck_outdoor_plug_switch_1', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.deck_outdoor_plug_switch_1', 'on') %}
#00cc00
{% endif %}
- type: custom:mushroom-template-card
primary: Deck
secondary: ''
icon: phu:rooms-outdoor-social-time
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/deck2
hold_action:
action: more-info
icon_color: >-
{% if is_state('light.deck_light', 'on') or
is_state('switch.deck_smart_plug_tapo_smart_plug_1', 'on' or
is_state('switch.deck_smart_plug_tapo_smart_plug_2', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
entity: light.deck_light
double_tap_action:
action: more-info
- type: custom:mushroom-template-card
primary: Backyard
secondary: ''
icon: phu:rooms-outdoor
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/backyard2
hold_action:
action: more-info
icon_color: |-
{% if is_state('light.outside_lights', 'on') %}
#ffba77
{% else %}
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.outside_lights
badge_icon: |-
{% if is_state('switch.pond_plug_switch_0', 'on') %}
mdi:pump
{% endif %}
badge_color: |-
{% if is_state('switch.pond_plug_switch_0', 'on') %}
#00cc00
{% endif %}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Garage
secondary: '{{states(''sensor.garage_sensor_temp_offset'')}}ºF'
icon: |-
{% if is_state('cover.ratgdov25i_0cceb5_door', 'open') %}
mdi:garage-open-variant
{% else %}
mdi:garage-variant
{% endif %}
icon_color: |-
{% if is_state('switch.garage_lights', 'on') or
is_state('switch.work_light_plug', 'on') or
is_state('light.ratgdov25i_0cceb5_light', 'on') or
is_state('cover.ratgdov25i_0cceb5_door', 'open') %}
#ffba77
{% elif is_state('input_boolean.evse_charging', 'on') or
is_state('switch.battery_charger_plug',
'on') %}
blue
{% endif %}
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/garage2
hold_action:
action: more-info
double_tap_action:
action: toggle
entity: switch.garage_lights
fill_container: true
badge_icon: |-
{% if is_state('cover.ratgdov25i_0cceb5_door', 'open') %}
mdi:garage-open-variant
{% else %}
{% endif %}
badge_color: |-
{% if is_state('cover.ratgdov25i_0cceb5_door', 'open') %}
#ff0000
{% else %}
{% endif %}
- type: custom:mushroom-template-card
primary: Driveway
secondary: ''
icon: phu:rooms-driveway
icon_color: |-
{% if is_state('light.driveway_lights', 'on') %}
#ffba77
{% elif is_state('light.holiday_lights', 'on') %}
#ffba77
{% endif %}
tap_action:
action: navigate
navigation_path: /dashboard-tablet/driveway2
layout: vertical
hold_action:
action: more-info
double_tap_action:
action: more-info
entity: light.driveway_lights
fill_container: true
- type: custom:gap-card
height: 133
visibility:
- condition: screen
media_query: '(min-width: 768px)'
- type: markdown
content: '## ──── Deanna ────'
card_mod:
style: |
ha-card {
--ha-card-background: none;
font-size: 12pt;
font-weight: 700;
font-family: Roboto;
padding: 0px;
margin-top: -10px;
margin-bottom: -5px;
border: none;
text-align: center;
color: #705033;
}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Stairway
secondary: '{{states(''sensor.bonus_stairway_sensor_offset'')}}ºF'
icon: mdi:stairs
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/bonus-stairway2
hold_action:
action: more-info
icon_color: |
{% if is_state('light.bonus_stairway_lights', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: toggle
entity: light.bonus_stairway_lights
- type: custom:mushroom-template-card
primary: Deanna
secondary: '{{states(''sensor.deannas_room_combo_sensor_temperature'')}}ºF'
icon: phu:rooms-bedroom
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/deannas-room
hold_action:
action: more-info
icon_color: |-
{% if [
states('light.table_lamps'),
states('light.deannas_room_desk_light'),
states('light.deannas_room_dormer_lights'),
states('light.deannas_room_dresser_light'),
states('light.deannas_room_main_lights'),
states('media_player.deannas_room')
] | select('in', ['on', 'playing']) | list | count > 0 %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: more-info
badge_icon: |-
{% if is_state('fan.deannas_room_ceiling_fan', 'on') %}
mdi:fan
{% endif %}
badge_color: |-
{% if is_state('fan.deannas_room_ceiling_fan', 'on') %}
#00cc00
{% endif %}
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Bathroom
secondary: '{{states(''sensor.bonus_bath_combo_sensor_temperature'')}}ºF'
icon: phu:rooms-bathroom
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-tablet/bonus-bath
icon_color: |-
{% if is_state('light.bonus_bath_light', 'on') %}
amber
{% endif %}
multiline_secondary: true
fill_container: true
hold_action:
action: more-info
double_tap_action:
action: more-info
entity: light.bonus_bath_light
- type: custom:mushroom-template-card
primary: Closet
secondary: '{{states(''sensor.deanna_s_closet_sensor_temp_offset'')}}ºF'
icon: phu:rooms-closet
layout: vertical
tap_action:
action: toggle
hold_action:
action: more-info
icon_color: |-
{% if is_state('switch.deannas_closet_light', 'on') %}
#ffba77
{% endif %}
multiline_secondary: true
fill_container: false
double_tap_action:
action: more-info
entity: switch.deannas_closet_light
max_columns: 3
dense_section_placement: true
background:
opacity: 33
alignment: center
size: cover
repeat: repeat
attachment: fixed
badges:
- type: entity
show_name: true
show_state: true
show_icon: true
color: ''
entity: lock.front_door_lock
name: Front Door
visibility:
- condition: state
entity: lock.front_door_lock
state: unlocked
- type: entity
show_name: true
show_state: true
show_icon: true
color: ''
name: Kitchen Door
visibility:
- condition: state
entity: lock.kitchen_door_lock
state: unlocked
entity: lock.kitchen_door_lock
- type: entity
show_name: true
show_state: true
show_icon: true
color: ''
entity: lock.sun_room_door_lock
name: Sun Room Door
visibility:
- condition: state
entity: lock.sun_room_door_lock
state: unlocked
- type: entity
show_name: true
show_state: true
show_icon: true
color: ''