-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlovelace.yaml
2481 lines (2474 loc) · 83.7 KB
/
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: homeOS
views:
- badges: []
cards:
- cards:
- content: '## Switches'
style: "ha-card {\n --ha-card-background: none !important;\n box-shadow: none\
\ !important;\n}\n"
type: markdown
- entities:
- entity: input_select.home_state
extend_paper_buttons_row:
base_config:
layout: icon
state_styles:
'on':
button:
background-color: var(--button-shape-active-color)
color: var(--button-icon-active-color)
styles:
button:
background-color: var(--button-shape-color)
border-radius: 25px
color: var(--disabled-text-color)
margin-right: 10px
padding: 6px
icon:
--mdc-icon-size: 21px
buttons:
- entity: switch.morning_state
- entity: switch.day_state
- entity: switch.evening_state
- entity: switch.night_state
styles:
button:
margin-right: 0px
name: Home State
secondary_info:
entity: input_select.home_state
name: false
show_state: false
state_color: true
type: custom:multiple-entity-row
style: "ha-card {\n padding: 0px 0px 0px 0px;\n }\n"
type: entities
- entities:
- entities:
- light.voortuin_buitenlamp
- light.achtertuin_buitenlamp
group_config:
secondary_info: brightness
state_color: true
head:
entity: light.buiten_groep
icon: hue:room-outdoors
name: Buiten Lampen
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
state_color: true
type: entities
- entities:
- entity: light.gang_lamp
secondary_info: brightness
- entity: light.toilet_lamp
icon: mdi:wall-sconce-round
secondary_info: brightness
- entities:
- binary_sensor.trapkast_sensor
group_config:
state_color: true
head:
entity: light.trapkast_lamp
icon: mdi:lightbulb-on
name: Trapkast
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
state_color: true
type: entities
- entities:
- entities:
- light.keuken_afzuigkap
- light.keuken_lamp
group_config:
secondary_info: brightness
state_color: true
head:
entity: light.keuken_groep
icon: hue:room-kitchen
name: Keuken
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
- entity: switch.keuken_waterkoker
secondary_info: last-updated
state_color: true
type: entities
- entities:
- entity: light.ambilight
extend_paper_buttons_row:
base_config:
layout: icon
state_styles:
'on':
button:
background-color: var(--button-shape-active-color)
color: var(--button-icon-active-color)
styles:
button:
background-color: var(--button-shape-color)
border-radius: 25px
color: var(--disabled-text-color)
margin-right: 10px
padding: 6px
icon:
--mdc-icon-size: 21px
buttons:
- entity: select.hue_entertainment_area
styles:
button:
margin-right: 10px
name: TV Ambilight
secondary_info: brightness
- entities:
- entity: input_select.play_gradient_scenes
name: Gradient Scenes
- entity: light.play_gradient_lightstrip
- entity: light.woonkamer_play_lichtbalk
name: Play Lichtbalk
- entity: light.woonkamer_lightstrip_plus
name: Lightstrip Plus
- type: divider
- entity: light.woonkamer_eettafel_lamp
name: Eettafel Lamp
- entity: light.woonkamer_lamp
name: Hanglamp
- type: divider
- entity: light.globe_lamp
- entity: light.edison_lamp
- entity: light.tarnaby_lamp
group_config:
secondary_info: brightness
state_color: true
head:
entity: light.woonkamer_groep
icon: hue:room-lounge
name: Woonkamer
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
- base_config:
layout: icon|name
state_styles:
'on':
button:
background-color: var(--button-shape-active-color)
color: var(--button-icon-active-color)
name:
color: var(--button-icon-active-color)
styles:
button:
background-color: var(--button-shape-color)
border-radius: 10px
color: var(--primary-text-color)
margin-bottom: 0px
margin-right: 0px
padding: 6px
icon:
--mdc-icon-size: 20px
name:
color: var(--primary-text-color)
font-weight: 500
buttons:
- entity: switch.privacy_mode
name: Privacy
- entity: switch.party_mode
name: Party
- entity: switch.cinema_mode
name: Cinema
type: custom:paper-buttons-row
state_color: true
type: entities
- entities:
- entities:
- entity: input_select.slaapkamer_scenes
name: Scenes
- type: divider
- light.slaapkamer_lamp
- light.slaapkamer_hektar_lamp
- light.slaapkamer_nachtkastjes
group_config:
secondary_info: brightness
state_color: true
head:
entity: light.slaapkamer_groep
icon: hue:room-bedroom
name: Slaapkamer
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
- entities:
- entity: input_select.studiekamer_scenes
name: Scenes
- type: divider
- entity: light.studiekamer_lightstrip_plus
name: Lightstrip
- entity: light.studiekamer_lamp
name: Hanglamp
- entity: light.studiekamer_bureauspot
name: Bureauspot
- entity: light.studiekamer_hektar_bureaulamp
name: Bureaulamp
group_config:
secondary_info: brightness
state_color: true
head:
entity: light.studiekamer_groep
icon: hue:room-computer
name: Studiekamer
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
- entities:
- light.kledingkamer_lamp
- light.kledingkamer_staande_lamp
group_config:
secondary_info: brightness
state_color: true
head:
entity: light.kledingkamer_groep
icon: hue:room-closet
name: Kledingkamer
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
state_color: true
type: entities
- entities:
- entity: light.overloop_lamp
secondary_info: brightness
- entity: light.badkamer_lamp
icon: mdi:wall-sconce-round
secondary_info: brightness
state_color: true
type: entities
- entities:
- entities:
- light.zolder_spot_01
- light.zolder_spot_02
- light.zolder_spot_03
- light.zolder_spot_04
group_config:
secondary_info: brightness
state_color: true
head:
entity: light.zolder_groep
secondary_info: brightness
state_color: true
type: custom:fold-entity-row
type: entities
type: vertical-stack
- cards:
- content: '## Sensors'
style: "ha-card {\n --ha-card-background: none !important;\n box-shadow: none\
\ !important;\n}\n"
type: markdown
- entities:
- active: '{{ is_state(''binary_sensor.remote_ui'', ''on'') }}'
entity: binary_sensor.remote_ui
icon: mdi:image-filter-drama
name: Home Assistant Cloud
secondary: '{{ iif(is_state(''binary_sensor.remote_ui'', ''on''), ''Remote
UI connected'', ''Remote UI disconnected'') }}'
state: ''
tap_action:
action: more-info
type: custom:template-entity-row
- active: '{{ is_state(''update.home_assistant_core_update'', ''on'') }}'
entity: update.home_assistant_core_update
icon: mdi:home-assistant
name: Home Assistant ({{ state_attr('update.home_assistant_core_update', 'installed_version')
}})
secondary: "{% if is_state('update.home_assistant_core_update', 'on') %} \n\
\ Update available: {{ state_attr('update.home_assistant_core_update',\
\ 'latest_version') }}\n{% else %} \n Up-to-date \n{% endif %}"
state: ''
tap_action:
action: more-info
type: custom:template-entity-row
- active: '{{ is_state(''update.deconz_update'', ''on'') }}'
entity: update.deconz_update
icon: mdi:usb-flash-drive
name: deCONZ ({{ state_attr('update.deconz_update', 'installed_version') }})
secondary: "{% if is_state('update.deconz_update', 'on') %} \n Update available:\
\ {{ state_attr('update.deconz_update', 'latest_version') }}\n{% else %}\
\ \n Up-to-date \n{% endif %}"
state: ''
tap_action:
action: more-info
type: custom:template-entity-row
- entity: binary_sensor.hacs_updater
icon: mdi:store
name: Community Store
secondary_info:
entity: sensor.hacs
name: false
show_state: false
state_color: true
type: custom:multiple-entity-row
type: entities
- entities:
- entity: sensor.samba_backup
extend_paper_buttons_row:
buttons:
- entity: sensor.samba_backup
layout: icon|state
state_icons:
failed: mdi:alert-circle
idle: mdi:plus-circle
running: mdi:play-circle
succeeded: mdi:check-circle
state_styles:
failed:
button:
background-color: rgb(199, 72, 76, 0.2)
color: var(--label-badge-red)
state:
color: var(--label-badge-red)
running:
button:
background-color: var(--button-shape-active-color)
color: var(--button-icon-active-color)
state:
color: var(--button-icon-active-color)
succeeded:
button:
background-color: rgb(76, 175, 80, 0.2)
color: var(--label-badge-green)
state:
color: var(--label-badge-green)
state_text:
failed: Failed
idle: Start
running: Running
succeeded: Finised
styles:
button:
background-color: var(--button-shape-color)
border-radius: 10px
color: var(--primary-text-color)
margin-bottom: 0px
margin-right: 0px
padding: 6px
icon:
--mdc-icon-size: 20px
state:
color: var(--primary-text-color)
font-weight: 500
tap_action:
action: call-service
confirmation:
text: Create a new backup?
service: script.action_start_backup
icon: mdi:upload-network
name: Remote Backup
secondary_info:
entity: sensor.samba_relative_backup
name: false
show_state: false
state_color: true
type: custom:multiple-entity-row
state_color: false
type: entities
- entities:
- entity: sensor.hp_tango
extend_paper_buttons_row:
base_config:
layout: icon|state
state:
postfix: '%'
styles:
button:
background-color: var(--card-background-color)
border-radius: 25px
box-shadow: var(--ha-card-box-shadow)
color: var(--primary-text-color)
padding: 5px 10px 5px 10px
icon:
--mdc-icon-size: 16px
margin-top: -3px
state:
color: var(--primary-text-color)
font-size: 12px
font-weight: bold
buttons:
- entity: sensor.hp_tango_black_cartridge
icon: mdi:water
styles:
button:
margin-right: 10px
- entity: sensor.hp_tango_tri_color_cartridge
icon: mdi:water-opacity
styles:
icon:
--mdc-icon-size: 17px
name: Printer
secondary_info:
entity: sensor.hp_tango_uptime
format: relative
name: false
show_state: false
state_color: true
type: custom:multiple-entity-row
- entity: switch.wasmachine
extend_paper_buttons_row:
buttons:
- entity: sensor.wasmachine_washer_job_state
layout: icon|state
state_icons:
none: mdi:check-circle
rinse: mdi:circle-opacity
spin: mdi:sync-circle
wash: mdi:water-circle
state_styles:
none:
button:
color: var(--primary-text-color)
state:
color: var(--primary-text-color)
state_text:
none: Finished
rinse: Rinse
spin: Spin
wash: Wash
styles:
button:
background-color: var(--card-background-color)
border-radius: 25px
box-shadow: var(--ha-card-box-shadow)
color: var(--primary-color)
padding: 5px 10px 5px 10px
icon:
--mdc-icon-size: 16px
margin-top: -3px
state:
color: var(--primary-color)
font-size: 12px
font-weight: bold
name: Wasmachine
secondary_info:
entity: sensor.wasmachine_washer_completion_time
format: relative
name: false
show_state: false
state_color: true
type: custom:multiple-entity-row
state_color: true
type: entities
- cards:
- entities:
- base_config:
layout: icon|name|state
styles:
button:
background-color: var(--card-background-color)
border-radius: 25px
box-shadow: var(--ha-card-box-shadow)
padding: 5px 10px 5px 10px
icon:
--mdc-icon-size: 16px
margin-top: -3px
name:
color: var(--primary-text-color)
font-size: 12px
font-weight: bold
state:
color: var(--primary-text-color)
font-size: 12px
font-weight: bold
buttons:
- entity: sensor.p1_meter_active_power
icon: mdi:lightning-bolt
name: Active
state:
postfix: W
prefix: "\u25CF "
styles:
button:
color: '{{ (states(''sensor.p1_meter_active_power'') <= ''0'') | iif(''rgb(103,
58, 183)'', ''rgb(33, 150, 234)'') }}'
- entity: sensor.pv_power
icon: '{{ iif(is_state(''sensor.pv_power'', ''unavailable''), ''mdi:power-sleep'',
''mdi:white-balance-sunny'') }}'
layout: icon|state
name: "{{ iif(is_state('sensor.pv_power', 'unavailable'), 'Solar \u25CF\
\ 0 W', 'Solar') }}"
state: "{% if is_state('sensor.pv_power', 'unavailable') %}\n Solar \u25CF\
\ 0 W\n{% else %}\n Solar \u25CF {{ states('sensor.pv_power')}} W\n\
{% endif %} "
styles:
button:
color: '{{ iif(is_state(''sensor.pv_power'', ''unavailable''), ''rgb(158,
158, 158)'', ''rgb(255, 193, 7)'') }}'
type: custom:paper-buttons-row
state_color: true
type: entities
- type: energy-distribution
type: custom:vertical-stack-in-card
- cards:
- animate: false
entities:
- color: '#F44336'
entity: sensor.woonkamer_cv_temperature_average
name: Woonkamer
- color: '#2196F3'
entity: sensor.badkamer_temperature_multi_sensor
name: Badkamer
- color: '#8BC34A'
entity: sensor.slaapkamer_temperature_multi_sensor
name: Slaapkamer
height: 128
hour24: true
hours_to_show: 120
line_width: 3
name: Temperature
points_per_hour: 0.5
show:
average: false
fill: true
labels: true
points: hover
state: true
smoothing: true
type: custom:mini-graph-card
- animate: false
entities:
- color: '#43A047'
entity: sensor.woonkamer_cv_humidity_average
name: Woonkamer
- color: '#8BC34A'
entity: sensor.badkamer_humidity_multi_sensor
name: Badkamer
- color: '#A5D6A7'
entity: sensor.slaapkamer_humidity_multi_sensor
name: Slaapkamer
height: 128
hour24: true
hours_to_show: 120
line_width: 3
name: Humidity
points_per_hour: 0.5
show:
average: false
fill: true
labels: true
points: hover
state: true
smoothing: true
type: custom:mini-graph-card
parameters:
centeredSlides: true
centeredSlidesBounds: true
grabCursor: true
pagination:
clickable: true
spaceBetween: 20
type: custom:swipe-card
type: vertical-stack
- cards:
- content: '## Controls'
style: "ha-card {\n --ha-card-background: none !important;\n box-shadow: none\
\ !important;\n}\n"
type: markdown
- cards:
- entity: climate.woonkamer_centrale_verwarming
name: Centrale Verwarming
style: "ha-card {\n margin-bottom: 0px;\n}\n"
type: thermostat
- entities:
- base_config:
layout: icon
styles:
button:
background-color: var(--button-shape-color)
border-radius: 25px
color: var(--disabled-text-color)
margin-top: -20px
padding: 5px
buttons:
- hold_action:
action: more-info
entity: input_number.climate_comfort
icon: '{{ state_attr(''input_number.climate_comfort'', ''icon'') }}'
name: Comfort
styles:
button:
color: "{% if is_state('climate.woonkamer_centrale_verwarming', 'off')\
\ %}\n var(--disabled-text-color)\n{% elif state_attr('climate.woonkamer_centrale_verwarming',\
\ 'temperature') == states('input_number.climate_comfort')|float(0)\
\ %}\n var(--state-climate-heat-color)\n{% else %} \n var(--disabled-text-color)\n\
{% endif %}"
tap_action:
action: call-service
service: script.generic_component_climate
service_data:
climate: climate.woonkamer_centrale_verwarming
mode: Comfort
- hold_action:
action: more-info
entity: input_number.climate_eco
icon: '{{ state_attr(''input_number.climate_eco'', ''icon'') }}'
name: Eco
styles:
button:
color: "{% if is_state('climate.woonkamer_centrale_verwarming', 'off')\
\ %}\n var(--disabled-text-color)\n{% elif state_attr('climate.woonkamer_centrale_verwarming',\
\ 'temperature') == states('input_number.climate_eco')|float(0)\
\ %} \n var(--label-badge-green)\n{% else %} \n var(--disabled-text-color)\n\
{% endif %}"
tap_action:
action: call-service
service: script.generic_component_climate
service_data:
climate: climate.woonkamer_centrale_verwarming
mode: Eco
- hold_action:
action: more-info
entity: input_number.climate_away
icon: '{{ state_attr(''input_number.climate_away'', ''icon'') }}'
name: Away
styles:
button:
color: "{% if is_state('climate.woonkamer_centrale_verwarming', 'off')\
\ %}\n var(--disabled-text-color)\n{% elif state_attr('climate.woonkamer_centrale_verwarming',\
\ 'temperature') == states('input_number.climate_away')|float(0)\
\ %}\n var(--paper-item-icon-active-color)\n{% else %} \n var(--disabled-text-color)\n\
{% endif %}"
tap_action:
action: call-service
service: script.generic_component_climate
service_data:
climate: climate.woonkamer_centrale_verwarming
mode: Away
- hold_action:
action: more-info
entity: input_number.climate_sleep
icon: '{{ state_attr(''input_number.climate_sleep'', ''icon'') }}'
name: Sleep
styles:
button:
color: "{% if is_state('climate.woonkamer_centrale_verwarming', 'off')\
\ %}\n var(--disabled-text-color)\n{% elif state_attr('climate.woonkamer_centrale_verwarming',\
\ 'temperature') == states('input_number.climate_sleep')|float(0)\
\ %}\n var(--label-badge-turquoise)\n{% else %} \n var(--disabled-text-color)\n\
{% endif %}"
tap_action:
action: call-service
service: script.generic_component_climate
service_data:
climate: climate.woonkamer_centrale_verwarming
mode: Sleep
type: custom:paper-buttons-row
style: "ha-card {\n margin-bottom: 0px;\n}\n"
type: entities
type: custom:vertical-stack-in-card
- card:
entities:
- entity: climate.tuya_duux_threesixty
extend_paper_buttons_row:
buttons:
- entity: select.tuya_duux_threesixty_temperature_level
layout: icon
state_icons:
'1': mdi:fan-speed-1
'2': mdi:fan-speed-2
'3': mdi:fan-speed-3
state_styles:
'2':
button:
color: var(--state-climate-heat-color)
'3':
button:
color: var(--label-badge-red)
styles:
button:
background-color: var(--button-shape-color)
border-radius: 25px
color: var(--disabled-text-color)
margin-right: 10px
name: Duux ThreeSixty
secondary_info: last-changed
state_color: true
- entity: fan.smartmi_p1
extend_paper_buttons_row:
buttons:
- icon: mdi:brightness-auto
layout: icon
name: Auto Mode
styles:
button:
background-color: "{% if is_state_attr('fan.smartmi_p1', 'preset_mode',\
\ 'Auto') %} \n var(--button-shape-active-color)\n{% else %} \n\
\ var(--button-shape-color)\n{% endif %}"
border-radius: 25px
color: "{% if is_state_attr('fan.smartmi_p1', 'preset_mode', 'Auto')\
\ %} \n var(--button-icon-active-color)\n{% else %} \n var(--disabled-text-color)\n\
{% endif %}"
margin-right: 10px
margin-top: 0px
padding: 5px
icon:
--mdc-icon-size: 21px
tap_action:
action: call-service
service: fan.set_preset_mode
service_data:
entity_id: fan.smartmi_p1
preset_mode: Auto
name: Smartmi P1
secondary_info: last-changed
state_color: true
type: entities
conditions:
- entity: sensor.ambient_light_outside
state: Light
type: conditional
- card:
entities:
- entity: fan.whisper_flex
extend_paper_buttons_row:
buttons:
- entity: input_select.whisper_flex_modes
layout: icon
state_icons:
nature mode: mdi:tailwind
normal mode: mdi:fan-plus
sleep mode: mdi:power-sleep
state_styles:
normal mode:
button:
background-color: var(--button-shape-color)
color: var(--disabled-text-color)
styles:
button:
background-color: var(--button-shape-active-color)
border-radius: 25px
color: var(--button-icon-active-color)
margin-right: 10px
icon:
--mdc-icon-size: 21px
name: Whisper Flex
secondary_info: last-changed
state_color: true
toggle: true
- entity: fan.ikea_starkvind
extend_paper_buttons_row:
buttons:
- icon: mdi:brightness-auto
layout: icon
name: Auto Mode
styles:
button:
background-color: "{% if is_state_attr('fan.ikea_starkvind', 'preset_mode',\
\ 'Auto') %} \n var(--button-shape-active-color)\n{% else %} \n\
\ var(--button-shape-color)\n{% endif %}"
border-radius: 25px
color: "{% if is_state_attr('fan.ikea_starkvind', 'preset_mode',\
\ 'Auto') %} \n var(--button-icon-active-color)\n{% else %} \n\
\ var(--disabled-text-color)\n{% endif %}"
margin-right: 10px
margin-top: 0px
padding: 5px
icon:
--mdc-icon-size: 21px
tap_action:
action: call-service
service: fan.set_preset_mode
service_data:
entity_id: fan.ikea_starkvind
preset_mode: Auto
name: IKEA Starkvind
secondary_info: last-changed
state_color: true
type: entities
conditions:
- entity: sensor.ambient_light_outside
state: Dark
type: conditional
- artwork: cover
entity: media_player.sonos_arc
group: false
hide:
power: true
info: short
toggle_power: false
type: custom:mini-media-player
volume_stateless: false
- cards:
- entity: media_player.sonos_roam
media_controls:
- play_pause_stop
name: Roam
type: custom:mushroom-media-player-card
use_media_artwork: true
use_media_info: false
volume_controls:
- volume_set
- entity: media_player.ikea_symfonisk
media_controls:
- play_pause_stop
name: Symfonisk
type: custom:mushroom-media-player-card
use_media_artwork: true
volume_controls:
- volume_set
columns: 2
square: false
type: grid
- cards:
- entities:
- entity: media_player.sony_bravia_tv
name: TV
- entity: media_player.apple_tv
name: Player
- entity: media_player.play_sync_box
name: Sync
- entity: media_player.playstation_4
name: PS4
- entity: media_player.xbox_series_x
name: Xbox
state_color: true
type: glance
type: horizontal-stack
- entities:
- entity: cover.achterdeur_gordijn
name: Achterdeur
- entity: cover.woonkamer_gordijn
name: Woonkamer
- entity: cover.keuken_rolgordijnen
name: Keuken
- entity: cover.slaapkamer_rolgordijnen
name: Slaapkamer
state_color: true
type: glance
type: vertical-stack
- cards:
- content: '## Occupancy'
style: "ha-card {\n --ha-card-background: none !important;\n box-shadow: none\
\ !important;\n}\n"
type: markdown
- cards:
- entity: person.gabriel
type: custom:mushroom-person-card
use_entity_picture: true
vertical: true
- entity: person.shanna
type: custom:mushroom-person-card
use_entity_picture: true
vertical: true
- entity: person.zora
type: custom:mushroom-person-card
use_entity_picture: true
vertical: true
square: false
type: grid
- entities:
- entity: input_select.home_state_occupancy
extend_paper_buttons_row:
base_config:
layout: icon
state_styles:
'on':
button:
background-color: var(--button-shape-active-color)
color: var(--button-icon-active-color)
styles:
button:
background-color: var(--button-shape-color)
border-radius: 25px
color: var(--disabled-text-color)
margin-bottom: 0px
margin-right: 10px
buttons:
- entity: switch.home_occupancy
styles:
button:
padding: 5px
icon:
--mdc-icon-size: 21px
- entity: switch.sleeping_occupancy
styles:
button:
padding: 6px
icon:
--mdc-icon-size: 21px
- entity: switch.away_occupancy
styles:
button:
margin-bottom: 0px
padding: 6px
icon:
--mdc-icon-size: 22px
- entity: switch.on_vacation_occupancy
styles:
button:
margin-right: 0px
padding: 4px
icon:
--mdc-icon-size: 22px
name: Occupancy
secondary_info:
entity: input_select.home_state_occupancy
name: false
show_state: false
state_color: true
type: custom:multiple-entity-row
style: "ha-card {\n padding: 0px 0px 0px 0px;\n}\n"
type: entities
- cards:
- entity: alarm_control_panel.security_system
name: Security
states:
- armed_home
- armed_away
- armed_night
type: custom:mushroom-alarm-control-panel-card
- entity: switch.security_cam
type: custom:mushroom-entity-card
- entity: binary_sensor.voordeur_sensor
name: Voordeur
type: custom:mushroom-entity-card
- entity: binary_sensor.achterdeur_sensor
name: Achterdeur
type: custom:mushroom-entity-card
columns: 2
square: false
type: grid
- cards:
- aggregate_func: max
animate: false
entities:
- color: var(--label-badge-gray)
entity: binary_sensor.gang_motion_sensor
name: Gang
- color: var(--primary-color)
entity: binary_sensor.toilet_motion_sensor
name: Toilet
- color: var(--state-climate-heat-color)
entity: binary_sensor.keuken_motion_sensor
name: Keuken
- color: var(--label-badge-red)
entity: binary_sensor.woonkamer_cam_motion_sensor
name: Woonkamer
- color: '#795548'
entity: binary_sensor.voortuin_motion_sensor
name: Voortuin
- color: var(--label-badge-green)
entity: binary_sensor.achtertuin_motion_sensor
name: Achtertuin
height: 90
hours_to_show: 6
icon: mdi:page-layout-footer
line_width: 3
name: Motion downstairs
points_per_hour: 9
show:
fill: true
labels: false
state: true
smoothing: false
state_map:
- label: Clear
value: 'off'
- label: Detected
value: 'on'
type: custom:mini-graph-card
- aggregate_func: max
animate: false
entities:
- color: var(--label-badge-gray)
entity: binary_sensor.overloop_motion_sensor
name: Overloop
- color: var(--primary-color)
entity: binary_sensor.badkamer_motion_sensor
name: Badkamer
- color: var(--label-badge-green)
entity: binary_sensor.slaapkamer_motion_sensor
name: Slaapkamer
- color: '#9C27B0'
entity: binary_sensor.kledingkamer_motion_sensor
name: Kledingkamer
- color: '#FF5722'
entity: binary_sensor.studiekamer_motion_sensor
name: Studiekamer
- color: var(--label-badge-yellow)
entity: binary_sensor.zolder_occupancy
name: Zolder
height: 90
hours_to_show: 6