/
ui-lovelace.yaml
1255 lines (1255 loc) · 50.2 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
title: Home
resources:
- url: /community_plugin/lovelace-card-tools/card-tools.js
type: js
- url: /community_plugin/lovelace-card-mod/card-mod.js
type: module
- url: /community_plugin/lovelace-fold-entity-row/fold-entity-row.js
type: js
- url: /community_plugin/lovelace-auto-entities/auto-entities.js
type: module
- url: /community_plugin/upcoming-media-card/upcoming-media-card.js
type: js
- url: /community_plugin/secondaryinfo-entity-row/secondaryinfo-entity-row.js
type: module
- url: /community_plugin/bar-card/bar-card.js
type: js
- url: /community_plugin/text-divider-row/text-divider-row.js
type: js
- url: /community_plugin/compact-custom-header/compact-custom-header.js
type: module
- url: /community_plugin/button-card/button-card.js
type: module
- url: /community_plugin/config-template-card/config-template-card.js
type: module
- url: /community_plugin/podcast-card/podcast-card.js
type: module
- url: /community_plugin/mini-graph-card/mini-graph-card.js
type: module
- url: /community_plugin/mini-media-player/mini-media-player.js
type: module
- url: /community_plugin/bom-weather-card/bom-weather-card.js
type: module
cch:
swipe: true
views:
- title: Home Assistant
icon: mdi:home-assistant
cards:
- type: vertical-stack
cards:
- type: entities
title: System Information
show_header_toggle: false
entities:
- sensor.last_successful_authentication
- sensor.ssl_certificate_expiry
- sensor.coffee_maker_firmware
- sensor.toothbrush_firmware
- sensor.garage_door_firmware
- sensor.alarm_firmware
- sensor.sonoff_firmware_version_available
- binary_sensor.sonoff_update_available
- sensor.artisan_software_version
- sensor.memory_mean
- sensor.processor_mean
- type: horizontal-stack
cards:
- type: gauge
name: CPU Temperature
unit: °C
entity: sensor.cpu_temperature
severity:
green: 0
yellow: 50
red: 60
- type: gauge
name: Disk Usage
unit: '%'
entity: sensor.disk_use_percent
- type: horizontal-stack
cards:
- type: gauge
name: CPU Usage
unit: '%'
entity: sensor.processor_use
severity:
green: 0
yellow: 25
red: 50
- type: gauge
name: Memory Usage
unit: '%'
entity: sensor.memory_use_percent
severity:
green: 0
yellow: 35
red: 50
- type: history-graph
title: NUC Resources Graph
hours_to_show: 72
refresh_interval: 1800
entities:
- sensor.memory_use_percent
- sensor.nuc_memory_used_filtered
- sensor.processor_use
- sensor.nuc_processor_used_filtered
- type: entities
title: NUC Resources
show_header_toggle: false
entities:
- sensor.nuc_memory_used_filtered
- sensor.nuc_processor_used_filtered
- sensor.cpu_temperature
- sensor.disk_use
- sensor.disk_free
- sensor.disk_use_percent
- sensor.memory_use_percent
- sensor.memory_use
- sensor.memory_free
- sensor.swap_use_percent
- sensor.load
- sensor.processor_use
- sensor.ipv4_address_eno1
- sensor.wan_ip_address
- sensor.network_in_eno1
- sensor.network_out_eno1
- entity: sensor.last_boot
format: datetime
- sensor.systemuptime
- type: vertical-stack
cards:
- type: entities
title: Updates
show_header_toggle: false
entities:
- sensor.hass_installed_version
- sensor.hass_available_to_install_version
- sensor.hass_current_stable_version
- sensor.hass_current_beta_version
- sensor.hass_current_dev_version
- sensor.hass_current_supervisor_stable_version
- sensor.hass_current_supervisor_beta_version
- binary_sensor.hass_update_available
- sensor.hacs
- type: horizontal-stack
cards:
- type: entity-button
entity: script.1554771236987
icon: mdi:check-decagram
name: Sonoff Firmware
tap_action:
action: call-service
service: script.1554771236987
- type: entity-button
entity: automation.make_snapshot_copy_backups_to_dropbox
icon: mdi:dropbox
name: Dropbox Backup
tap_action:
action: call-service
service: hassio.addon_stdin
service_data: {"addon":"7be23ff5_dropbox_sync","input":{"command":"upload"}}
- type: entity-button
entity: script.updateversions
icon: mdi:check-decagram
name: Update Versions
tap_action:
action: call-service
service: script.updateversions
- type: custom:mini-graph-card
hours_to_show: 24
points_per_hour: 4
show:
labels: true
entities:
- entity: sensor.sabnzbd_memory
name: Sabnzbd
show_state: true
color: yellow
- type: custom:mini-graph-card
hours_to_show: 24
points_per_hour: 4
show:
labels: true
entities:
- entity: sensor.sonarr_memory
name: Sonarr
show_state: true
color: orange
- type: custom:mini-graph-card
hours_to_show: 24
points_per_hour: 4
show:
labels: true
entities:
- entity: sensor.radarr_memory
name: Radarr
show_state: true
color: '#73C2FB'
- type: entities
title: Docker Containers
show_header_toggle: false
entities:
- type: custom:fold-entity-row
head:
type: section
label: Containers
items:
- switch.ha_dockermon_sabnzbd
- switch.ha_dockermon_sonarr
- switch.ha_dockermon_radarr
- switch.ha_dockermon_lazylibrarian
- switch.ha_dockermon_portainer
- switch.ha_dockermon_watchtower
- type: 'custom:config-template-card'
entities:
- device_tracker.davids_iphone_2
- device_tracker.davids_ipad_2
card:
type: 'custom:hui-entities-card'
title: iOS Devices
show_header_toggle: false
entities:
- entity: person.david
- entity: person.liz
- entity: device_tracker.davids_iphone_2
- entity: sensor.battery_level
name: "${'Battery Status:' + '\xa0'.repeat(5) + states['sensor.battery_state'].state + '\xa0'.repeat(5) + 'Level:'}"
- entity: device_tracker.davids_ipad_2
- entity: sensor.battery_level_2
name: "${'Battery Status:' + '\xa0'.repeat(5) + states['sensor.battery_state_2'].state + '\xa0'.repeat(5) + 'Level:'}"
- type: vertical-stack
cards:
- type: 'custom:config-template-card'
variables:
- states['sensor.abb_usage'].state
- states['sensor.abb_usage'].attributes['usedMb']
- states['sensor.abb_usage'].attributes['downloadedMb']
- states['sensor.abb_usage'].attributes['uploadedMb']
- states['sensor.abb_usage'].attributes['allowanceMb']
- states['sensor.abb_usage'].attributes['daysTotal']
- states['sensor.abb_usage'].attributes['daysRemaining']
- states['sensor.abb_usage'].attributes['lastUpdated']
- states['sensor.abb_usage'].attributes['nextRollover']
- states['sensor.abb_usage'].attributes['daysUsed']
- states['automation.update_abb_usage'].attributes['last_triggered']
entities:
- sensor.abb_usage
card:
type: 'custom:hui-entities-card'
title: Aussie Broadband Usage
show_header_toggle: false
entities:
- entity: sensor.abb_usage
name: "${'Last Update on' + '\xa0'.repeat(3) + new Date(vars[7]).toLocaleDateString('en-AU', {weekday: 'short', year: 'numeric', month: 'short', day: 'numeric'}) + '\xa0' + 'at' + '\xa0' + new Date(vars[7]).toLocaleTimeString('en-AU')}"
- entity: sensor.abb_usage
name: "${'Updated' + '\xa0'.repeat(14) + Number.parseInt((new Date().getTime() - new Date(vars[7])) / 60000) + '\xa0' + 'minutes ago'}"
icon: mdi:clock
- entity: sensor.abb_usage
name: "${var usedinfo= ((vars[5] - vars[6]) + Number.parseFloat(((new Date(vars[7]) - new Date().setHours(0,0,0,0)) / 86400000))).toFixed(2); var usedpercent= ((usedinfo / vars[5])*100).toFixed(2); 'Used' + '\xa0'.repeat(20) + usedinfo + '\xa0' + 'days' + '\xa0'.repeat(2) + '-' + '\xa0'.repeat(2) + usedpercent + '%' + '\xa0' + 'of month'}"
icon: mdi:calendar
- entity: sensor.abb_usage
name: "${var remaininfo= ((vars[5] - vars[9]) - Number.parseFloat(((new Date(vars[7]) - new Date().setHours(0,0,0,0)) / 86400000))).toFixed(2); var remainpercent= ((remaininfo / vars[5])*100).toFixed(2); 'Remaining' + '\xa0'.repeat(10) + remaininfo + '\xa0' + 'days' + '\xa0'.repeat(2) + '-' + '\xa0'.repeat(2) + remainpercent + '%' + '\xa0' + 'of month'}"
icon: mdi:calendar
- entity: sensor.abb_usage
name: "${var usedinfo= ((vars[5] - vars[6]) + Number.parseFloat(((new Date(vars[7]) - new Date().setHours(0,0,0,0)) / 86400000))).toFixed(2); var usedpercent= ((usedinfo / vars[5])*100).toFixed(2); var projected= ((vars[1] / usedpercent) / 10 ).toFixed(2); 'Projected Use' + '\xa0'.repeat(4) + projected + '\xa0' + 'GB'}"
icon: mdi:lan-connect
- entity: sensor.abb_usage
name: "${'Next Rollover' + '\xa0'.repeat(5) + new Date(vars[8]).toLocaleDateString('en-AU', {weekday: 'short', year: 'numeric', month: 'short', day: 'numeric'})}"
icon: mdi:calendar
- entity: sensor.abb_usage
name: "${'Today is Day' + '\xa0'.repeat(6) + ((vars[9] + 1)) + '\xa0'.repeat(2) + 'of' + '\xa0'.repeat(2) + vars[5] + '\xa0'.repeat(2) + 'days'}"
icon: mdi:calendar
- entity: sensor.abb_usage
name: "${'Downloaded' + '\xa0'.repeat(6) + ((vars[2]/1E3).toFixed(2)) + '\xa0' + 'GB' }"
icon: mdi:file-download
- entity: sensor.abb_usage
name: "${'Uploaded' + '\xa0'.repeat(11) + ((vars[3]/1E3).toFixed(2)) + '\xa0' + 'GB' }"
icon: mdi:file-upload
- entity: sensor.abb_usage
name: "${'Total' + '\xa0'.repeat(19) + (((vars[2] +vars[3]) / 1E3).toFixed(2)) + '\xa0' + 'GB of' + '\xa0' + (vars[4] < 100000000 ? Math.floor(vars[4] / 1000) : 'Unlimited') + '\xa0' + 'GB'}"
icon: mdi:lan-connect
- entity: sensor.abb_usage
name: "${'Last Update Requested' +'\xa0'.repeat(5) + Number.parseInt((new Date().getTime() - new Date(vars[10])) / 60000)+ '\xa0' + 'minutes ago'}"
icon: mdi:clock
- type: 'custom:bar-card'
title: Month Used
entity: sensor.abb_usage
attribute: daysUsed
min: 1
max: sensor.abb_usage.attributes.daysTotal
height: 20px
direction: right
unit_of_measurement: days
tap_action: service
service_options:
domain: shell_command
service: abbusage
- type: picture-entity
title: Aussie Broadband CVC Capacity
entity: camera.aussie_broadband_cvc_capacity
tap_action:
action: more-info
hold_action:
action: more-info
- type: entities
title: Internet
show_header_toggle: false
entities:
- sensor.speedtest_download
- sensor.speedtest_download_filtered
- sensor.speedtest_upload
- sensor.speedtest_upload_filtered
- sensor.speedtest_ping
- sensor.fritz_netmonitor
- type: horizontal-stack
cards:
- type: gauge
name: Mbit/s Download
unit: ' '
min: 0
max: 50
severity:
red: 0
yellow: 30
green: 40
entity: sensor.speedtest_download
- type: gauge
name: Mbit/s Upload
unit: ' '
min: 0
max: 20
severity:
red: 0
yellow: 11
green: 15
entity: sensor.speedtest_upload
- type: custom:mini-graph-card
hours_to_show: 24
points_per_hour: 2
entities:
- sensor.speedtest_download
show:
labels: true
color_thresholds:
- value: 0
color: "#ff0000" #red
- value: 30
color: "#ffa500" #orange
- value: 40
color: "#00ff00" #green
- type: custom:mini-graph-card
hours_to_show: 24
points_per_hour: 2
entities:
- sensor.speedtest_upload
show:
labels: true
color_thresholds:
- value: 0
color: "#ff0000" #red
- value: 11
color: "#ffa500" #orange
- value: 15
color: "#00ff00" #green
- title: Weather
icon: mdi:weather-cloudy
cards:
- type: vertical-stack
cards:
- type: 'custom:config-template-card'
entities:
- sensor.seasonname
- sun.sun
- sensor.sunrisetoday
- sensor.sunsettoday
- sensor.nextsunrise
- sensor.nextsunset
- sensor.daylightyesterday
- sensor.daylighttoday
- sensor.daylighttomorrow
- sensor.yrwthr
- sensor.moonphases
card:
type: 'custom:hui-entities-card'
title: Season, Sun & Moon Phase
show_header_toggle: false
entities:
- entity: sensor.seasonname
- entity: sun.sun
name: "${'Sun Elevation:' + '\xa0'.repeat(2) + states['sun.sun'].attributes['elevation'] + '°' }"
- entity: sensor.sunrisetoday
- entity: sensor.sunsettoday
- entity: sensor.nextsunrise
- entity: sensor.nextsunset
- entity: sensor.daylightyesterday
- entity: sensor.daylighttoday
- entity: sensor.daylighttomorrow
- entity: sensor.yrwthr
- entity: sensor.moonphases
- type: custom:mini-graph-card
hours_to_show: 168
points_per_hour: 1
show:
labels: true
entities:
- entity: sensor.daylengthchange
name: Change in Day Length
show_state: true
color: orange
- type: entities
title: Weather from BOM Australia
show_header_toggle: false
entities:
- sensor.bom_forecast_0
- sensor.bom_gosford_air_temp_c
- sensor.bom_gosford_delta_temp_c
- sensor.bom_gosford_dew_point_c
- sensor.bom_gosford_feels_like_c
- sensor.bom_gosford_rain_today
- sensor.bom_gosford_relative_humidity
- sensor.bom_gosford_wind_direction
- sensor.bom_gosford_wind_gust_kmh
- sensor.bom_gosford_wind_gust_kt
- sensor.bom_gosford_wind_speed_kmh
- sensor.bom_gosford_wind_speed_kt
- type: vertical-stack
cards:
- type: custom:bom-weather-card
title: BOM Weather
entity_current_conditions: sensor.bom_gosford_icon_0
entity_temperature: sensor.bom_gosford_air_temp_c
entity_forecast_high_temp_1: sensor.bom_gosford_max_temp_c_1
entity_forecast_high_temp_2: sensor.bom_gosford_max_temp_c_2
entity_forecast_high_temp_3: sensor.bom_gosford_max_temp_c_3
entity_forecast_high_temp_4: sensor.bom_gosford_max_temp_c_4
entity_forecast_high_temp_5: sensor.bom_gosford_max_temp_c_5
entity_forecast_icon_1: sensor.bom_gosford_icon_1
entity_forecast_icon_2: sensor.bom_gosford_icon_2
entity_forecast_icon_3: sensor.bom_gosford_icon_3
entity_forecast_icon_4: sensor.bom_gosford_icon_4
entity_forecast_icon_5: sensor.bom_gosford_icon_5
entity_forecast_low_temp_1: sensor.bom_gosford_min_temp_c_1
entity_forecast_low_temp_2: sensor.bom_gosford_min_temp_c_2
entity_forecast_low_temp_3: sensor.bom_gosford_min_temp_c_3
entity_forecast_low_temp_4: sensor.bom_gosford_min_temp_c_4
entity_forecast_low_temp_5: sensor.bom_gosford_min_temp_c_5
entity_summary_1: sensor.bom_gosford_summary_1
entity_summary_2: sensor.bom_gosford_summary_2
entity_summary_3: sensor.bom_gosford_summary_3
entity_summary_4: sensor.bom_gosford_summary_4
entity_summary_5: sensor.bom_gosford_summary_5
entity_sun: sun.sun
# entity_visibility: sensor.dark_sky_visibility
entity_daytime_high: sensor.bom_today_max
entity_daytime_low: sensor.bom_today_min
entity_wind_bearing: sensor.bom_gosford_wind_direction
entity_wind_speed: sensor.bom_gosford_wind_speed_kmh
entity_humidity: sensor.bom_gosford_relative_humidity
# entity_pressure: sensor.dark_sky_pressure
entity_apparent_temp: sensor.bom_gosford_feels_like_c
entity_daily_summary: sensor.bom_gosford_detailed_summary_0
entity_pop: sensor.bom_gosford_chance_of_rain_0
entity_pop_intensity: sensor.bom_gosford_rain_today
entity_possible_today: sensor.bom_gosford_possible_rainfall_0
entity_pos_1: sensor.bom_gosford_possible_rainfall_1
entity_pos_2: sensor.bom_gosford_possible_rainfall_2
entity_pos_3: sensor.bom_gosford_possible_rainfall_3
entity_pos_4: sensor.bom_gosford_possible_rainfall_4
entity_pos_5: sensor.bom_gosford_possible_rainfall_5
entity_pop_1: sensor.bom_gosford_chance_of_rain_1
entity_pop_2: sensor.bom_gosford_chance_of_rain_2
entity_pop_3: sensor.bom_gosford_chance_of_rain_3
entity_pop_4: sensor.bom_gosford_chance_of_rain_4
entity_pop_5: sensor.bom_gosford_chance_of_rain_5
entity_current_text: sensor.bom_current_text
locale: en
sunset: true
static_icons: false
tooltip_bg_color: 'rgb( 75,155,239)'
tooltip_border_color: 'rgb(255,161,0)'
tooltip_border_width: 1
tooltip_caret_size: 5
tooltip_fg_color: '#fff'
tooltip_left_offset: -12
tooltip_width: 110
tooltips: true
old_daily_format: false
time_format: 12
show_beaufort: false
refresh_interval: 60
show_separator: false
temp_top_margin: -0.3em #default -0.3em px or em
temp_font_weight: 300 #default 300 numeric
temp_font_size: 4em #default 4em em
temp_right_pos: 0.85em #default .85em px or em
temp_uom_top_margin: -9px #default -9px px or em
temp_uom_right_margin: 7px #default 7px px or em
apparent_top_margin: 45px #default 45px px or em
apparent_right_pos: 1em #default 1em px or em
apparent_right_margin: 1em #default 1em px or em
current_text_top_margin: 39px #default 39px px or em
current_text_left_pos: 5em #default 5em px or em
current_text_font_size: 1.5em #default 1.5em em
current_data_top_margin: 7em #default 7em px or em
large_icon_top_margin: -3.5em #default -3.5em px or em
large_icon_left_position: 0em #default 0em px or em
separator_top_margin: 6em #default 6em px or em
slot_l1: daytime_high #daytime_high
slot_l2: daytime_low #wind
slot_l3: wind #visibility but BOM has no visibility reported
slot_l4: sun_next #sun_next
slot_r1: pop #pop
slot_r2: humidity #humidity
slot_r3: possible_today #pressure but BOM has no pressure reported
slot_r4: sun_following #sun_following
- type: history-graph
title: Weather BOM Gosford
hours_to_show: 72
refresh_interval: 300
entities:
- sensor.bom_gosford_air_temp_c
- sensor.bom_gosford_feels_like_c
- sensor.bom_gosford_dew_point_c
- sensor.bom_gosford_rain_today
- sensor.bom_gosford_relative_humidity
- sensor.bom_gosford_wind_gust_kmh
- sensor.bom_gosford_wind_speed_kmh
- type: entities
title: BOM Forecast
show_header_toggle: false
entities:
- sensor.bom_forecast_0
- sensor.bom_forecast_1
- sensor.bom_forecast_2
- sensor.bom_forecast_3
- sensor.bom_forecast_4
- sensor.bom_forecast_5
- sensor.bom_forecast_6
- type: vertical-stack
cards:
- type: picture-entity
title: BOM Satellite
entity: camera.bom_satellite
tap_action:
action: more-info
hold_action:
action: more-info
- type: picture-entity
title: BOM Radar Sydney
entity: camera.sydney
tap_action:
action: more-info
hold_action:
action: more-info
- type: picture-entity
title: BOM Radar Newcastle
entity: camera.newcastle
tap_action:
action: more-info
hold_action:
action: more-info
- type: entities
title: NSW Warnings & Events
show_header_toggle: false
entities:
- binary_sensor.fire_ban_today
- sensor.fire_danger_level_today
- type: conditional
conditions:
- entity: sensor.fire_danger_level_today
state: 'None'
card:
type: picture-entity
entity: sensor.fire_danger_level_today
show_name: false
show_state: false
image: /local/icons/firedanger/Icons.png
- type: conditional
conditions:
- entity: sensor.fire_danger_level_today
state: 'Low Moderate'
card:
type: picture-entity
entity: sensor.fire_danger_level_today
show_name: false
show_state: false
image: /local/icons/firedanger/low-moderate.png
- type: conditional
conditions:
- entity: sensor.fire_danger_level_today
state: 'High'
card:
type: picture-entity
entity: sensor.fire_danger_level_today
show_name: false
show_state: false
image: /local/icons/firedanger/high.png
- type: conditional
conditions:
- entity: sensor.fire_danger_level_today
state: 'Very High'
card:
type: picture-entity
entity: sensor.fire_danger_level_today
show_name: false
show_state: false
image: /local/icons/firedanger/very-high.png
- type: conditional
conditions:
- entity: sensor.fire_danger_level_today
state: 'Severe'
card:
type: picture-entity
entity: sensor.fire_danger_level_today
show_name: false
show_state: false
image: /local/icons/firedanger/severe.png
- type: conditional
conditions:
- entity: sensor.fire_danger_level_today
state: 'Extreme'
card:
type: picture-entity
entity: sensor.fire_danger_level_today
show_name: false
show_state: false
image: /local/icons/firedanger/extreme.png
- type: conditional
conditions:
- entity: sensor.fire_danger_level_today
state: 'Catastrophic'
card:
type: picture-entity
entity: sensor.fire_danger_level_today
show_name: false
show_state: false
image: /local/icons/firedanger/catastrophic.png
- type: entities
entities:
- type: custom:auto-entities
card:
type: custom:fold-entity-row
head:
type: section
label: Current Incidents
open: true
filter:
include:
- entity_id: "geo_location.nsw_fire_service_feed_*"
show_empty: true
- type: map
show_header_toggle: false
dark_mode: true
geo_location_sources:
- nsw_rural_fire_service_feed
entities:
- zone.home
- title: Lights & Switches
icon: mdi:power
cards:
- type: vertical-stack
cards:
- type: entities
title: Security & Home
show_header_toggle: false
entities:
- entity: input_boolean.alarmgaragedoor
secondary_info: last-changed
- entity: switch.sonoff51083
secondary_info: last-changed
- entity: switch.sonoff63719
secondary_info: last-changed
- type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: sensor.alarm_triggers
state_not: "0"
- entity: sensor.alarm_triggers
state_not: "unavailable"
card:
type: entities
entities:
- entity: sensor.alarm_triggers
- type: conditional
conditions:
- entity: sensor.alarm_triggers
state_not: "0"
- entity: sensor.alarm_triggers
state_not: "unavailable"
card:
type: 'custom:button-card'
color_type: card
entity: sensor.alarm_triggers
name: Alarm Event
state:
- value: 0
operator: '>'
color: red
icon: mdi:alert
style:
- animation: blink 2s ease infinite
spin: false
- operator: default
color: green
icon: mdi:shield-check
tap_action:
action: call-service
service: shell_command.removealarm
- type: horizontal-stack
cards:
- type: entity-button
entity: switch.sonoff51083
tap_action:
action: call-service
service: switch.turn_on
service_data:
entity_id: switch.sonoff51083
- type: entity-button
entity: switch.sonoff63719
tap_action:
action: call-service
service: switch.turn_on
service_data:
entity_id: switch.sonoff63719
- type: custom:button-card
entity: input_boolean.alarmgaragedoor
icon: mdi:security
color_type: icon
lock: true
state:
- value: 'off'
color: var(--paper-item-icon-color) # rgb(54, 95, 140)
- value: 'on'
color: var(--secondary-text-color) # rgb(251, 210, 41)
name: Exit-Enter
show_state: false
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.alarmgaragedoor
- type: conditional
conditions:
- entity: sensor.recycling_bin_today
state: 'True'
card:
type: picture-entity
entity: sensor.recycling_bin_today
show_name: false
show_state: false
image: /local/icons/recyclinggreenbin/recycling_bin_today.png
- type: conditional
conditions:
- entity: sensor.recycling_bin_tomorrow
state: 'True'
card:
type: picture-entity
entity: sensor.recycling_bin_tomorrow
show_name: false
show_state: false
image: /local/icons/recyclinggreenbin/recycling_bin_tomorrow.png
- type: conditional
conditions:
- entity: sensor.green_bin_today
state: 'True'
card:
type: picture-entity
entity: sensor.green_bin_today
show_name: false
show_state: false
image: /local/icons/recyclinggreenbin/green_waste_bin_today.png
- type: conditional
conditions:
- entity: sensor.green_bin_tomorrow
state: 'True'
card:
type: picture-entity
entity: sensor.green_bin_tomorrow
show_name: false
show_state: false
image: /local/icons/recyclinggreenbin/green_waste_bin_tomorrow.png
- type: entities
title: Light
show_header_toggle: false
entities:
- light.dining
- light.lounge
- light.meals_area_light
- light.fan_light
- light.office_light_group
- light.office
- light.desk
- type: vertical-stack
cards:
- type: entities
title: Switch
show_header_toggle: false
entities:
- switch.sonoff12914
- switch.home_assistant
- switch.hifi
- switch.vpn_router
- switch.sonoff23110
- type: horizontal-stack
cards:
- type: custom:button-card
entity: input_boolean.homeandawayauto
icon: mdi:home
color_type: icon
state:
- value: 'off'
color: red
name: Away
- value: 'on'
color: green
name: Home
show_state: false
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.homeandawayauto
- type: custom:button-card
entity: input_boolean.overtime
icon: mdi:clock
color_type: icon
state:
- value: 'off'
color: red
name: Normal
- value: 'on'
color: green
name: Overtime
show_state: false
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.overtime
- type: custom:button-card
entity: input_boolean.holiday
icon: mdi:calendar
color_type: icon
state:
- value: 'off'
color: red
name: No Holiday
- value: 'on'
color: green
name: Holiday Mode
show_state: false
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.holiday
- type: entities
title: Overrides
show_header_toggle: false
entities:
- type: custom:fold-entity-row
open: false
head:
type: section
label: Overrides
items:
- input_boolean.homeandawayauto
- input_boolean.overtime
- input_boolean.holiday
- type: entities
title: Automations
show_header_toggle: false
entities:
- type: custom:fold-entity-row
open: false
head:
type: section
label: Security
items:
- automation.close_garage_and_set_alarm
- automation.deactivate_alarm_and_open_garage
- type: entities
style: |
ha-card {
background: none;
box-shadow: none;
--secondary-text-color: var(--primary-text-color);
}
entities:
- type: 'custom:text-divider-row'
text: Household
- type: custom:fold-entity-row
open: false
head:
type: section
label: Lights & Switches
items:
- automation.coffee_maker_on
- automation.coffee_maker_off
- automation.toothbrush_on
- automation.toothbrush_off
- automation.turn_lounge_light_on_elevation_25deg_after_4pm
- type: 'custom:text-divider-row'
text: Other
- type: custom:fold-entity-row
open: false
head:
type: section
label: Not in Normal Use
items:
- automation.start_all_automations
- automation.lights_on_failsafe
- automation.lights_off_failsafe
- automation.system_runtime
- automation.make_snapshot_copy_backups_to_dropbox
- automation.update_available
- automation.beta_update_available
- automation.bin_night
- automation.update_bin_night
- automation.clean_out_known_devices
- automation.alarm_event_triggered
- automation.alarm_event_check
- automation.update_speedtest
- entity: automation.restart_docker_containers_when_memory_35
type: 'custom:secondaryinfo-entity-row'
secondary_info: "[[ automation.restart_docker_containers_when_memory_35.attributes.last_triggered ]]"
- automation.system_change_current_theme
- automation.system_set_custom_theme_at_startup
- automation.purge_history
- automation.roaster_needs_attention
- entity: automation.update_abb_usage
type: 'custom:secondaryinfo-entity-row'
secondary_info: "[[ automation.update_abb_usage.attributes.last_triggered ]]"
- type: custom:fold-entity-row
open: false
head:
type: section
label: Sonoff
items:
- automation.sonoff_firmware_installed
- automation.power_state_sonoff_on_ha_start_up
- type: vertical-stack
cards:
- type: entities
title: Theme Switcher
show_header_toggle: false
entities:
- input_select.theme_switcher
- type: horizontal-stack
cards:
- type: custom:button-card
icon: mdi:home-assistant
lock: true
name: Restart
tap_action:
action: call-service
service: homeassistant.restart
- type: custom:button-card
entity: input_select.theme_switcher
icon: mdi:palette
lock: true
name: Theme
tap_action:
action: call-service
service: input_select.select_next
service_data:
entity_id: input_select.theme_switcher
- type: entities
title: Automations & Scenes
show_header_toggle: false
entities:
- type: custom:auto-entities
card:
type: custom:fold-entity-row
head:
type: section
label: All Automations
open: false
filter:
include:
- entity_id: "automation.*"
- type: custom:auto-entities
card:
type: custom:fold-entity-row
head:
type: section
label: Scenes
open: false
filter:
include:
- entity_id: "scene.*"
- type: 'custom:config-template-card'
variables:
- states['sensor.sonoff1_2914_status'].attributes['MqttCount']
- states['sensor.sonoff1_2914_status'].attributes['WiFi LinkCount']
- states['sensor.sonoff1_2914_status'].state
- states['sensor.sonoff2_3110_status'].attributes['MqttCount']
- states['sensor.sonoff2_3110_status'].attributes['WiFi LinkCount']
- states['sensor.sonoff2_3110_status'].state
- states['sensor.sonoff5_1083_status'].attributes['MqttCount']
- states['sensor.sonoff5_1083_status'].attributes['WiFi LinkCount']
- states['sensor.sonoff5_1083_status'].state
- states['sensor.sonoff6_3719_status'].attributes['MqttCount']
- states['sensor.sonoff6_3719_status'].attributes['WiFi LinkCount']
- states['sensor.sonoff6_3719_status'].state
entities:
- sensor.sonoff1_2914_status
- sensor.sonoff2_3110_status
- sensor.sonoff5_1083_status