-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathha_homedashboard.yaml
12098 lines (12089 loc) · 544 KB
/
ha_homedashboard.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
kiosk_mode:
non_admin_settings:
hide_header: true
hide_menubutton: true
ignore_entity_settings: true
entity_settings:
- entity:
input_boolean.kioskmode: 'on'
hide_header: true
- entity:
input_boolean.kioskmode: 'off'
hide_header: false
views:
- title: Home
path: home
icon: mdi:home-assistant
type: sections
sections:
- type: grid
cards:
- type: heading
heading: Wetter
heading_style: title
tap_action:
action: navigate
navigation_path: /dashboard-test/wetter
- type: custom:vertical-stack-in-card
cards:
- type: horizontal-stack
cards:
- type: custom:digital-clock
dateFormat:
weekday: long
day: 2-digit
month: short
year: numeric
timeFormat:
hour: 2-digit
minute: 2-digit
card_mod:
style: |
ha-card {
min-width: 300px !important;
margin-top: 10px;
margin-left: 10px;
margin-right: 10px !important;
background-color: transparent !important;
color: var(--primary-color) !important;
border: none !important;
border-radius: 0px !important;
color: var(--primary-color) !important;
}
- event_grouping: true
drop_todayevents_from: '8:00:00'
next_days: 1
pattern:
- icon: mdi:flower
color: green
type: organic
pattern: Biotonne
image: /local/bilder/gruen.jpg
- icon: mdi:newspaper
color: blue
type: paper
pattern: Papiertonne
image: /local/bilder/blau.png
- icon: mdi:recycle-variant
color: amber
type: recycle
pattern: Gelber Sack
image: /local/bilder/gelb.png
- icon: mdi:trash-can-outline
color: grey
type: waste
pattern: Restabfall
image: /local/bilder/schwarz.png
- icon: mdi:dump-truck
color: purple
type: others
day_style: counter
alignment_style: center
color_mode: icon
items_per_row: 2
refresh_rate: 600
with_label: false
layout: vertical
type: custom:trash-card
entities:
- calendar.abfall
filter_events: false
use_summary: false
hide_time_range: false
full_size: false
card_mod:
style: |
ha-card {
background-color: transparent !important;
color: var(--primary-color) !important;
border: none !important;
border-radius: 0px !important;
position: relative;
width: 90px !important;
margin-top: 0px !important;
margin-bottom: 10px !important;
margin-right: 5px !important;
margin-left: 105px !important;
padding-bottom: 0px !important;
}
.card-container {
display: block !important;
}
/* Skaliert die Icons */
.icon-container {
transform: scale(1.5); /* Vergrößert nur die Icons */
display: flex;
justify-content: center;
align-items: center;
margin-top: 10px;
}
/* Begrenzt den Einfluss des Scales auf den Rest */
.icon-container ha-tile-image {
margin: 0 !important;
}
/* Text kleiner machen */
.content {
font-size: 12px !important; /* Anpassung der Textgröße */
text-align: center;
}
- type: horizontal-stack
cards:
- type: custom:vertical-stack-in-card
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-entity-card
entity: sensor.steps_kilometer_taglich
name: Jan
primary_info: state
fill_container: false
secondary_info: none
icon: mdi:walk
icon_color: grey
tap_action:
action: more-info
entity: person.jayjojayson
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border-right: 1px solid grey !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 75% !important;
text-align: center !important;
zoom: 75%;
padding-right: 10px;
}
mushroom-shape-icon {
--shape-color: none !important;
}
ha-state-icon {
margin-right: -20px;
}
- type: custom:mushroom-entity-card
entity: device_tracker.samsung_s24
name: Jan
primary_info: name
fill_container: false
secondary_info: none
icon: m3of:person-4
icon_color: grey
tap_action:
action: more-info
entity: person.jayjojayson
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border-right: 1px solid grey !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 75% !important;
text-align: center !important;
zoom: 85%;
padding-right: 30px;
}
mushroom-shape-icon {
--shape-color-disabled: transparent !important;
--shape-color: none !important;
}
ha-state-icon {
margin-right: -15px;
color: {% if states('device_tracker.samsung_s24') == 'home' %} green {% else %} grey {% endif %};
}
- type: custom:mushroom-entity-card
entity: device_tracker.23124ra7eo
name: Mutti
primary_info: name
fill_container: false
secondary_info: none
icon: m3of:person-3
icon_color: grey
tap_action:
action: more-info
entity: person.mutti
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border-right: 1px solid grey !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 75% !important;
text-align: center !important;
zoom: 85%;
padding-right: 30px;
}
mushroom-shape-icon {
--shape-color-disabled: transparent !important;
--shape-color: none !important;
}
ha-state-icon {
margin-right: -15px;
}
ha-state-icon {
margin-right: -15px;
color: {% if states('person.mutti') == 'home' %} green {% else %} grey {% endif %};
}
- type: custom:mushroom-entity-card
entity: sensor.23124ra7eo_steps_sensor
name: Mutti
primary_info: state
fill_container: false
secondary_info: none
icon: mdi:walk
icon_color: grey
icon_tap_action:
action: toggle
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 75% !important;
text-align: center !important;
zoom: 75%;
padding-right: 30px;
}
mushroom-shape-icon {
--shape-color: none !important;
}
ha-state-icon {
margin-right: -20px;
}
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border: none !important;
}
card_mod:
style: |
ha-card {
margin-bottom: 3px !important;
border: none !important;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
}
- type: custom:stack-in-card
card_mod:
style: |
ha-card {
margin-bottom: -3px;
border: none;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
}
cards:
- type: custom:vertical-stack-in-card
card_mod:
style: |
:host {
border: none;
--ha-card-background: none !important;
--ha-card-border: none !important;
}
ha-card {
border: none;
}
cards:
- type: horizontal-stack
cards:
- type: entity
entity: sensor.aussentemperatur_temperatur
name: ' '
state_color: false
icon: none
theme: Temps
card_mod:
style: |
ha-card {
width: 130%;
box-shadow: none !important;
border: none !important;
background: transparent !important;
border-radius: 0px !important;
margin-right: 30px !important;
margin-top: -10px !important;
text-align: center;
font-weight: bold !important;
--primary-text-color:
{% if is_state('sensor.temperature_color', 'steelblue') %}
steelblue
{% elif is_state('sensor.temperature_color', 'green') %}
green
{% elif is_state('sensor.temperature_color', 'orange') %}
orange
{% else %}
red
{% endif %};
}
.value {
font-size: 30px !important; /* Ändere die Schriftgröße */
}
.measurement {
font-size: 18px;
color: var(--primary-text-color) !important;
}
- type: custom:compass-card
card_mod:
style: |
ha-card {
background: none !important;
box-shadow: none !important;
border: none !important;
border-radius: 0px !important;
zoom: 50%;
margin-top: 15px;
margin-left: 65px;
width: 70%;
}
indicator_sensors:
- sensor: sensor.fuerstenwalde_spree_windrichtung
indicator:
type: arrow_inward
value_sensors:
- sensor: sensor.fuerstenwalde_spree_windgeschwindigkeit
compass:
east:
show: true
west:
show: true
south:
show: true
north:
show: true
offset: 150
language: de
- type: custom:mushroom-entity-card
entity: sensor.aussentemperatur_luftfeuchtigkeit
tap_action:
action: navigate
navigation_path: '#wetter'
name: ' '
primary_info: state
secondary_info: none
icon_type: none
card_mod:
style: |
:host {
--ha-card-background: transparent !important;
border: none !important;
text-align: center;
--ha-card-border-radius: 0px !important;
margin-right: 10px !important;
margin-left: 10px !important;
margin-top: 30px !important;
--mush-card-primary-font-size: 25px !important;
--mush-card-primary-color:
{% if is_state('sensor.temperature_color', 'steelblue') %}
steelblue
{% elif is_state('sensor.temperature_color', 'green') %}
green
{% elif is_state('sensor.temperature_color', 'orange') %}
orange
{% else %}
red
{% endif %};
}
ha-card {
box-shadow: none !important; /* Schatten und Rahmen entfernt */
border: none !important; /* Explizit Rahmen entfernt */
}
- type: custom:weather-chart-card
entity: weather.fuerstenwalde_spree
show_main: false
show_temperature: false
show_current_condition: false
show_attributes: false
show_time: false
show_time_seconds: false
show_day: false
show_date: false
show_humidity: false
show_pressure: false
show_wind_direction: false
show_wind_speed: false
show_sun: true
show_feels_like: false
show_dew_point: false
show_wind_gust_speed: false
show_visibility: false
show_last_changed: false
use_12hour_format: false
icons_size: '45'
animated_icons: true
icon_style: style1
autoscroll: false
forecast:
precipitation_type: rainfall
show_probability: false
labels_font_size: '13'
precip_bar_size: '0'
style: style2
show_wind_forecast: false
condition_icons: true
round_temp: false
type: daily
number_of_forecasts: '7'
disable_animation: false
chart_height: '160'
units:
speed: ''
temp: sensor.aussentemperatur_temperatur
humid: sensor.aussentemperatur_humidity
card_mod:
style: |
.card {
padding-top: 0px !important;
}
main {
margin-bottom: 0px !important;
}
main img {
margin: 0 auto !important;
margin-top: -65px !important;
}
- type: heading
icon: ''
heading: Feiertage
heading_style: title
visibility:
- condition: state
entity: calendar.feiertage_25
state: 'on'
- event_grouping: true
drop_todayevents_from: '18:00:00'
next_days: 14
pattern:
- icon: mdi:calendar-check
color: orange
type: others
day_style: counter
day_style_format: yyyy.MM.dd
card_style: card
alignment_style: left
color_mode: background
items_per_row: 4
refresh_rate: 600
with_label: true
layout: vertical
type: custom:trash-card
entities:
- calendar.feiertage_25
filter_events: false
use_summary: false
hide_time_range: false
full_size: false
visibility:
- condition: state
entity: calendar.feiertage_25
state: 'on'
card_mod:
style: |
ha-card {
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
position: relative;
padding-top: 5px !important; /* Platz oberhalb der Icons */
padding-bottom: 0px !important; /* Platz unterhalb der Icons */
}
/* Skaliert die Icons */
.icon-container {
transform: scale(1.5); /* Vergrößert nur die Icons */
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
/* Begrenzt den Einfluss des Scales auf den Rest */
.icon-container ha-tile-image {
margin: 0 !important;
}
/* Text kleiner machen */
.content {
font-size: 12px !important; /* Anpassung der Textgröße */
text-align: center;
}
- type: heading
icon: ''
heading: Multimedia
heading_style: title
tap_action:
action: navigate
navigation_path: /dashboard-test/multimedia
card_mod:
style: |
ha-card {
margin-top: -10px !important;
}
- type: custom:vertical-stack-in-card
cards:
- type: horizontal-stack
cards:
- type: tile
entity: input_button.button_fernseher
hide_state: true
show_entity_picture: false
vertical: false
name: TV on
tap_action:
action: toggle
card_mod:
style: |
ha-card {
padding: 10px !important;
background: none !important;
border-radius: 0px !important;
border-right: 1px solid grey !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
text-align: center !important;
}
.card-content {
margin: auto !important;
}
- type: tile
entity: input_button.button_fernseher_off
hide_state: true
show_entity_picture: false
vertical: false
name: TV off
tap_action:
action: toggle
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border-right: 1px solid grey !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
text-align: center !important;
}
.card-content {
margin: auto !important;
}
- type: tile
entity: switch.fernseher_plug_schalter
hide_state: true
show_entity_picture: false
vertical: false
name: TV Plug
tap_action:
action: toggle
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
text-align: center !important;
}
.card-content {
margin: auto !important;
}
card_mod:
style: |
ha-card {
border: none !important;
padding: 5px 0 5px 0;
margin: -10px 0 0 0;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
}
- type: custom:vertical-stack-in-card
cards:
- type: custom:mushroom-media-player-card
entity: media_player.wohnzimmer
media_controls:
- play_pause_stop
- next
- previous
volume_controls:
- volume_mute
- volume_buttons
- volume_set
show_volume_level: true
collapsible_controls: false
use_media_info: true
icon: mdi:cast-audio
card_mod:
style: |
:host {
background: none !important;
box-shadow: none;
z-index: 1 !important; /* Über dem Hintergrund */
}
- type: custom:mushroom-chips-card
card_mod:
style: |
ha-card {
margin: 2px !important;
z-index: 1 !important; /* Über dem Hintergrund */
}
alignment: center
chips:
- type: entity
entity: script.bb_radio_skript_fur_echo_wohnzimmer_gruppe
tap_action:
action: toggle
content_info: name
name: BB Radio
- type: entity
entity: script.radio_fritz_skript_fur_echo_wohnzimmer_gruppe
tap_action:
action: toggle
content_info: name
name: Fritz
- type: entity
entity: script.bb_radio_skript_fur_echo_wohnzimmer_gruppe
tap_action:
action: toggle
content_info: name
name: Radio 1
- type: entity
entity: >-
script.radio_berliner_rundfunk_skript_fur_echo_wohnzimmer_gruppe
tap_action:
action: toggle
content_info: name
name: 91,4
card_mod:
style: |
ha-card {
border: none !important;
position: relative;
overflow: hidden;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
}
ha-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url({{ state_attr('media_player.wohnzimmer', 'entity_picture') }}) no-repeat center center;
background-size: cover;
filter: blur(30px);
z-index: 0;
opacity: {% if is_state('media_player.wohnzimmer', 'playing') %} 1 {% else %} 0 {% endif %};
transition: opacity 0.5s ease;
}
visibility:
- condition: state
entity: media_player.echo_show
state: playing
- type: grid
cards:
- type: heading
heading: Eingangsbereich
heading_style: title
badges:
- type: entity
show_state: true
show_icon: true
entity: sensor.bewegungsmelder_garage_helligkeit
name: Lux
state_content:
- name
- state
tap_action:
action: navigate
navigation_path: /dashboard-test/sicherheit
- type: custom:vertical-stack-in-card
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-entity-card
name: Haustür
entity: lock.hauseingang
vertical: false
hide_state: true
icon_tap_action:
action: toggle
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border-right: 1px solid grey !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
text-align: center !important;
}
.card-content {
margin: auto !important;
}
ha-state-icon {
color: {% if states('lock.hauseingang') == 'locked' %} green {% else %} red {% endif %};
}
mushroom-shape-icon {
--shape-color: {% if states('lock.hauseingang') == 'locked' %} rgba(0, 128, 0, 0.4) {% else %} rgba(255, 0, 0, 0.2) {% endif %} !important;
}
- type: custom:mushroom-entity-card
entity: input_button.button_hoftor_automatik_auf_zu
name: Hoftor
primary_info: name
fill_container: false
secondary_info: none
icon_color: grey
icon_tap_action:
action: toggle
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border-right: 1px solid grey !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
text-align: center !important;
}
.card-content {
margin: auto !important;
}
- type: custom:mushroom-entity-card
entity: switch.licht_garage_wohnzimmer_licht_garage_ch2
fill_container: false
icon_color: amber
icon: mdi:coach-lamp
name: Garage
secondary_info: none
tap_action:
action: toggle
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
text-align: center !important;
}
.card-content {
margin: auto !important;
}
- type: horizontal-stack
cards:
- type: custom:auto-entities
card:
show_name: false
show_icon: true
show_state: false
type: glance
card_mod:
style: |
ha-card {
background: none !important;
box-shadow: none !important;
border-radius: 0px !important;
border: none !important;
color: var(--primary-color);
margin-top: -30px;
margin-bottom: -25px;
margin-left: 60px !important;
margin-right: 60px !important;
padding-top: 2px;
}
columns: null
filter:
include:
- entity_id: binary_sensor.bewegung*
state: 'on'
show_empty: false
card_mod:
style: |
ha-card {
background: none !important;
box-shadow: none !important;
border: none !important;
border-top: 0px solid var(--secondary-text-color) !important;
border-top: 0px solid var(--secondary-text-color) !important;
padding-top: 0px !important;
padding-bottom: 0px !important;
}
- type: picture-glance
title: Hofkamera
image: https://demo.home-assistant.io/stub_config/kitchen.png
card_mod:
style: |
ha-card {
background: none !important;
box-shadow: none !important;
border: none;
border-radius: 0 0 40px 8px !important;
margin-top: 4px;
margin-bottom: -4px;
}
entities:
- entity: select.hofkamera_ptz_voreinstellung
tap_action:
action: call-service
service: select.select_option
service_data:
entity_id: select.hofkamera_ptz_voreinstellung
option: Straßenansicht
icon_tap_action:
action: call-service
service: select.select_option
service_data:
entity_id: select.hofkamera_ptz_voreinstellung
option: Straßenansicht
- entity: select.hofkamera_ptz_voreinstellung
icon: mdi:car
tap_action:
action: call-service
service: select.select_option
service_data:
entity_id: select.hofkamera_ptz_voreinstellung
option: Pool
icon_tap_action:
action: call-service
service: select.select_option
service_data:
entity_id: select.hofkamera_ptz_voreinstellung
option: Pool
- entity: select.hofkamera_ptz_voreinstellung
icon: mdi:pool
tap_action:
action: navigate
navigation_path: '#poolkamera'
icon_tap_action:
action: navigate
navigation_path: '#poolkamera'
camera_image: camera.hofkamera_fliessend
card_mod:
style: |
ha-card {
margin-bottom: -15px;
border: none !important;
padding: 5px 0 5px 0;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
}
- type: heading
icon: ''
heading: Lichtstatus
heading_style: title
tap_action:
action: navigate
navigation_path: /dashboard-test/licht
visibility:
- condition: state
entity: sensor.licht_eingeschaltet
state: 'on'
- type: custom:stack-in-card
card_mod:
style: |
ha-card {
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
border: none !important;
padding: 10px 0 10px 0;
margin-bottom: -15px !important;
}
cards:
- type: horizontal-stack
cards:
- type: custom:auto-entities
card:
type: entities
card_mod:
style: |
ha-card {
background: none !important;
box-shadow: none !important;
border: none !important;
border-right: 1px solid grey !important;
border-radius: 0px !important;
font-size: 14px;
}
filter:
include:
- entity_id: light.*
area: Wohnzimmer
- entity_id: light.*
area: Schlafzimmer
- entity_id: light.*
area: Flur
- entity_id: light.*
area: Küche
- entity_id: light.*
area: Bad
- entity_id: light.*
area: Werkstatt
- entity_id: light.*
area: Garten
exclude:
- state: 'off'
- entity_id: >-
light.m5stack_atom_echo_a1449c_m5stack_atom_echo_a1449c
- entity_id: light.cyd_*
sort:
method: area
- type: custom:auto-entities
card:
type: entities
card_mod:
style: |
ha-card {
background: none !important;
border-radius: 0px !important;
border: none !important;
box-shadow: none !important;
font-size: 14px;
}
filter:
include:
- entity_id: light.*
area: Wohnzimmer 2
- entity_id: light.*
area: Schlafzimmer 2
- entity_id: light.*
area: Flur 2
- entity_id: light.*
area: Bad Mutti
- entity_id: light.*
area: Küche 2
- entity_id: light.*
area: Esszimmer