-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlovelace.yaml
660 lines (657 loc) · 22.4 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
background: var(--background-image)
custom_header:
compact_mode: true
views:
- badges: []
cards:
- control:
_headings: false
_icons: true
hvac:
auto:
icon: mdi:autorenew
name: Schema
heat:
icon: mdi:fire
name: Verwarmen
preset:
asleep:
icon: mdi:sleep
name: Slapen
away:
icon: mdi:logout
name: Weg
home:
icon: mdi:home
name: Thuis
no_frost:
icon: mdi:snowflake
name: Antivorst
vacation:
icon: mdi:airplane-takeoff
name: Vakantie
entity: climate.anna
hide:
state: true
temperature: true
icon: '[object Object]'
label:
temperature: Temperatuur
name: Woonkamer
sensors:
- attribute: current_temperature
entity: climate.anna
icon: mdi:home-thermometer-outline
unit: ' °C'
- entity: sensor.auxiliary_water_pressure
icon: mdi:gauge
name: CV druk
- entity: sensor.auxiliary_water_temperature
icon: mdi:coolant-temperature
name: CV Temperatuur
- entity: binary_sensor.auxiliary_dhw_state
icon: mdi:water-pump
name: W.W.Afname
type: custom:simple-thermostat
layout:
mode:
icons: true
headings: false
names: false
step: column
header: false
step_size: '0.5'
decimals: '1'
- entities:
- entity: switch.momentary_toggle_lights
- entity: light.woonkamer_lampen
type: custom:slider-entity-row
- entity: switch.wcd_schuurverlichting
- entity: light.tv_audio_ps4
- entity: input_boolean.record_on
- entity: input_boolean.vakantie
show_header_toggle: false
state_color: true
type: entities
icon: mdi:home-outline
path: default_view
title: Huis
- title: Terrarium
path: terrarium
icon: mdi:snake
badges: []
cards:
- type: custom:stack-in-card
cards:
- type: custom:text-divider-row
text: Terrarium
- type: entities
entities:
- entity: switch.terrarium_uv_lamp_relay
state_color: true
- entity: switch.terrarium_warmtelamp_relay
state_color: true
- entity: switch.terrarium_watersproeier
state_color: true
- entity: switch.terrarium_fogger_relay
state_color: true
- entity: input_number.spray_seconds
- type: custom:text-divider-row
text: Terrarium
- type: horizontal-stack
cards:
- type: custom:tempometer-gauge-card
entity: sensor.terrarium_temperatuur_links
min: 15
max: 50
title: Temperatuur links
decimals: 1
card_style: custom
icon1: mdi:thermometer-low
icon2: mdi:thermometer
icon3: mdi:thermometer-high
severity:
green: 18
yellow: 25
red: 40
- type: custom:tempometer-gauge-card
entity: sensor.terrarium_luchtvochtigheid_links
min: 0
max: 100
title: Luchtvochtigheid links
decimals: 0
card_style: custom
icon1: mdi:water-off
icon2: mdi:water-percent
icon3: mdi:water
severity:
green: 40
yellow: 70
red: 80
- type: horizontal-stack
cards:
- type: custom:tempometer-gauge-card
entity: sensor.terrarium_temperatuur_rechts
min: 15
max: 40
title: Temperatuur rechts
decimals: 1
card_style: custom
icon1: mdi:thermometer-low
icon2: mdi:thermometer
icon3: mdi:thermometer-high
severity:
green: 30
yellow: 33
red: 35
- type: custom:tempometer-gauge-card
entity: sensor.terrarium_luchtvochtigheid_rechts
min: 0
max: 100
title: Luchtvochtigheid rechts
decimals: 0
card_style: custom
icon1: mdi:water-off
icon2: mdi:water-percent
icon3: mdi:water
severity:
green: 20
yellow: 70
red: 80
- type: custom:stack-in-card
cards:
- type: custom:text-divider-row
text: UV Lamp
- type: glance
entities:
- entity: sensor.terrarium_uv_lamp_power
- entity: sensor.terrarium_uv_lamp_voltage
- entity: sensor.terrarium_uv_lamp_current
- type: custom:text-divider-row
text: Warmtelamp
- type: glance
entities:
- entity: sensor.terrarium_warmtelamp_power
- entity: sensor.terrarium_warmtelamp_voltage
- entity: sensor.terrarium_warmtelamp_current
- type: custom:text-divider-row
text: Fogger
- type: glance
entities:
- entity: sensor.terrarium_fogger_power
- entity: sensor.terrarium_fogger_voltage
- entity: sensor.terrarium_fogger_current
- badges: []
cards:
- cards:
- content: >
# <font color =
{{states('sensor.afvalwijzer_color')}}>Afvalwijzer</font>
<ha-icon icon= {{'mdi:delete-alert' if
states('sensor.afvalwijzer_firstdate') == 'vandaag' else
'mdi:delete-outline'}}> </ha-icon> Vandaag,
{{states('sensor.today_date_full')}}: <font color=
{{states('sensor.afvalwijzer_color')}}>**{{states('sensor.afvalwijzer_today')}}</font>**
<ha-icon icon= {{states('sensor.afvalwijzer_next_icon')}}>
</ha-icon> Volgende afval-ophaal over **<font
color={{states('sensor.afvalwijzer_next_color')}}>{{states('sensor.afvalwijzer_next_in_days')}}</font>**
{{'dag' if states('sensor.afvalwijzer_first_next_in_days') == '1'
else 'dagen'}} op:
<ha-icon icon= 'mdi:delete-alert'> </ha-icon>
{{states('sensor.afvalwijzer_first_next_date_formatted')|capitalize}}:
**<font
color={{states('sensor.afvalwijzer_next_color')}}>{{states('sensor.afvalwijzer_next_type')|capitalize}}</font>**
type: markdown
- cards:
- entity: sensor.afvalwijzer_today
name: Vandaag
show_state: false
state_image:
Geen: /local/mijnafvalwijzer/geenafval.png
gft: /local/mijnafvalwijzer/gft3.png
papier: /local/mijnafvalwijzer/papier3.png
pmd: /local/mijnafvalwijzer/plastic3.png
kerstbomen: /local/mijnafvalwijzer/kerstbomen3.png
kerstbomen, gft: /local/mijnafvalwijzer/kerstbomen_gft3.png
type: picture-entity
- entity: sensor.afvalwijzer_tomorrow
name: Morgen
show_state: false
state_image:
Geen: /local/mijnafvalwijzer/geenafval.png
gft: /local/mijnafvalwijzer/gft3.png
papier: /local/mijnafvalwijzer/papier3.png
pmd: /local/mijnafvalwijzer/plastic3.png
kerstbomen: /local/mijnafvalwijzer/kerstbomen3.png
kerstbomen, gft: /local/mijnafvalwijzer/kerstbomen_gft3.png
type: picture-entity
type: horizontal-stack
- card:
title: Volgende ophaaldata
type: entities
filter:
include:
- entity_id: sensor.afvalwijzer_*_next
options:
secondary: >
{% set count = states(config.entity)|int %} {% set day
= state_attr(config.entity,'Dag') %} {% set unit = 'Dag'
if count == 1 else 'dagen' %} {% if count >= 14 %} {% set
phrase = day + ' over 2 weken' %} {% elif count >= 7 %} {%
set phrase = 'Volgende week ' + day %} {% elif count >= 3
%} {% set phrase = 'komende ' + day %} {% elif count == 2
%} {% set phrase = day + ', overmorgen' %} {% elif count
== 1 %} {% set phrase = 'morgen, ' + day %} {% else %} {%
set phrase = 'Vandaag, ' + day %} {% endif %} {{phrase}}
{% if count != 0%} ({{count}} {{unit}}) {% endif %}
state: |
{{state_attr(config.entity,'Datum')}}
type: custom:template-entity-row
sort:
method: state
numeric: true
type: custom:auto-entities
- entities:
- entity: input_boolean.trash_moved
name: Afval buitengezet
show_header_toggle: false
type: entities
type: custom:vertical-stack-in-card
icon: mdi:trash-can-outline
path: afval
title: Afval
- badges: []
cards:
- cards:
- type: custom:text-divider-row
text: Weerstation achtertuin
- type: horizontal-stack
cards:
- type: custom:tempometer-gauge-card
entity: sensor.achtertuin_temperatuur
min: -10
max: 40
title: Temperatuur
decimals: 1
card_style: custom
icon1: mdi:thermometer-low
icon2: mdi:thermometer
icon3: mdi:thermometer-high
severity:
green: 16
yellow: 24
red: 27
- type: custom:tempometer-gauge-card
entity: sensor.achtertuin_luchtvochtigheid
min: 0
max: 101
title: Luchtvochtigheid
decimals: 0
card_style: custom
icon1: mdi:water-off
icon2: mdi:water-percent
icon3: mdi:water
severity:
green: 0
yellow: 45
red: 75
max: 100
- type: horizontal-stack
cards:
- type: custom:tempometer-gauge-card
entity: sensor.achtertuin_luchtdruk
min: 960
max: 1060
title: Barometer
decimals: 0
severity:
green: 1020
yellow: 1002
red: 990
- type: custom:tempometer-gauge-card
entity: sensor.achtertuin_lux
min: 0
max: 10000
card_style: custom
icon1: mdi:brightness-4
icon2: mdi:brightness-6
icon3: mdi:brightness-5
title: Lichtsterkte
decimals: 0
severity:
green: 2000
yellow: 6000
red: 8000
- cards:
- type: custom:text-divider-row
text: Weersverwachting
- current: true
details: false
entity: weather.buienradar
forecast: true
hourly_forecast: false
name: Overvecht
number_of_forecasts: 5
style: |
span.title {
font-size: 2.5em;
top: 1.5em;
left: 3.2em;
}
span.temp {
font-size: 2.5em;
top: 0.6em;
right: 1.4em;
}
span.tempc {
margin-top: -20px;
font-size: 1.5em;
right: 1em;
}
type: custom:weather-card
type: vertical-stack
- cards:
- type: custom:text-divider-row
text: Actuele neerslag
- type: custom:neerslag-card
entity: sensor.neerslag_buienalarm_regen_data
type: vertical-stack
mode: vertical
keep:
box_shadow: true
border_radius: false
margin: true
type: custom:stack-in-card
icon: mdi:weather-partly-rainy
- badges: []
cards:
- cards:
- cards:
- defaultMode: Calendar
enableModeChange: true
entities:
- color: yellow
entity: calendar.sandra_gmail
icon: mdi:star
- color: red
entity: calendar.gezin
icon: mdi:home-heart
eventBarColor: blue
name: Agenda
progressBarColor: blue
showColors: true
showDate: true
showMonth: true
showProgressBar: true
type: custom:atomic-calendar-revive
type: vertical-stack
mode: vertical
type: custom:stack-in-card
icon: mdi:calendar-month
- icon: mdi:disc-player
title: Media
badges: []
cards:
- hide:
power_state: false
type: custom:mini-media-player
source: full
shortcuts:
columns: 3
buttons:
- type: source
id: 538 102.1 (Top 40 %26 Pop Music)
image: /local/radiozenders/Radio538.jpg
- type: source
id: Qmusic 100.4 (Top 40 %26 Pop Music)
image: /local/radiozenders/Qmusic.jpg
- type: source
id: SLAM! 91.1 (Top 40 %26 Pop Music)
image: /local/radiozenders/SlamFM.jpg
- type: source
id: NPO 3FM 96.8 (Top 40 %26 Pop Music)
image: /local/radiozenders/3fm.jpg
- type: source
id: Radio M Utrecht 93.1 (News)
image: /local/radiozenders/RadioMutrecht.jpg
entity: media_player.denon_avr_x2700h
- hide:
power_state: false
type: custom:mini-media-player
source: full
shortcuts:
columns: 3
buttons:
- type: source
id: 538 102.1 (Top 40 %26 Pop Music)
image: /local/radiozenders/Radio538.jpg
- type: source
id: Qmusic 100.4 (Top 40 %26 Pop Music)
image: /local/radiozenders/Qmusic.jpg
- type: source
id: SLAM! 91.1 (Top 40 %26 Pop Music)
image: /local/radiozenders/SlamFM.jpg
- type: source
id: NPO 3FM 96.8 (Top 40 %26 Pop Music)
image: /local/radiozenders/3fm.jpg
- type: source
id: Radio M Utrecht 93.1 (News)
image: /local/radiozenders/RadioMutrecht.jpg
entity: media_player.slaapkamer_1
- hide:
power_state: false
type: custom:mini-media-player
source: full
shortcuts:
columns: 3
buttons:
- type: source
id: 538 102.1 (Top 40 %26 Pop Music)
image: /local/radiozenders/Radio538.jpg
- type: source
id: Qmusic 100.4 (Top 40 %26 Pop Music)
image: /local/radiozenders/Qmusic.jpg
- type: source
id: SLAM! 91.1 (Top 40 %26 Pop Music)
image: /local/radiozenders/SlamFM.jpg
- type: source
id: NPO 3FM 96.8 (Top 40 %26 Pop Music)
image: /local/radiozenders/3fm.jpg
- type: source
id: Radio M Utrecht 93.1 (News)
image: /local/radiozenders/RadioMutrecht.jpg
entity: media_player.slaapkamer_2
- badges: []
cards:
- aspect_ratio: 75%
camera_image: camera.straatkant
camera_view: live
entity: camera.straatkant
show_state: false
type: picture-entity
show_name: false
icon: mdi:cctv
path: cameras
title: Camera's
- icon: mdi:gauge
path: smartmeter
theme: ''
title: Smartmeter
badges: []
cards:
- type: custom:stack-in-card
mode: vertical
cards:
- type: custom:text-divider-row
text: Energie verbruik
- type: gauge
entity: sensor.power_consumption
needle: true
min: 0
max: 20
severity:
green: 0
yellow: 10
red: 15
name: Actueel
- type: entities
entities:
- entity: sensor.daily_energy
- entity: sensor.monthly_energy
- entity: sensor.daily_gas
- entity: sensor.monthly_gas
- type: custom:text-divider-row
text: Energie opwekking
- type: gauge
entity: sensor.pv_power_output
min: 0
max: 3630
severity:
green: 3000
yellow: 1500
red: 0
needle: true
name: Actueel
- type: entities
entities:
- entity: sensor.pv_energy_today
name: Huidig opgewekte energie
- entity: sensor.pv_emonth
name: Maandelijkes opgewekte energie
- type: custom:stack-in-card
cards:
- type: custom:text-divider-row
text: 3D Printer
- type: glance
entities:
- entity: sensor.energie_3dprinter_power
- entity: sensor.energie_3dprinter_voltage
- entity: sensor.energie_3dprinter_current
- entity: sensor.energie_3dprinter_daily_energy
- type: custom:text-divider-row
text: Wasmachine
- type: glance
entities:
- entity: sensor.energie_wasmachine_power
- entity: sensor.energie_wasmachine_voltage
- entity: sensor.energie_wasmachine_current
- entity: sensor.energie_wasmachine_daily_energy
- badges: []
cards:
- cards:
- type: horizontal-stack
cards:
- type: custom:tempometer-gauge-card
entity: sensor.rpi_cpu_temperature
min: 0
max: 85
title: CPU Temp.
decimals: 1
card_style: custom
icon1: mdi:thermometer-low
icon2: mdi:thermometer
icon3: mdi:thermometer-high
severity:
green: 40
yellow: 60
red: 70
- type: custom:tempometer-gauge-card
entity: sensor.rpi_gpu_temperature
min: 0
max: 85
title: GPU Temp.
decimals: 1
card_style: custom
icon1: mdi:thermometer-low
icon2: mdi:thermometer
icon3: mdi:thermometer-high
severity:
green: 40
yellow: 60
red: 70
- cards:
- entity: sensor.speedtest_download
graph: line
icon: mdi:download-outline
name: Download
style: |
.value {
font-size: 20px !important;
}
type: sensor
- entity: sensor.speedtest_upload
graph: line
icon: mdi:upload-outline
name: Upload
style: |
.value {
font-size: 20px !important;
}
type: sensor
type: horizontal-stack
- cards:
- entity: sensor.myip
icon: mdi:earth
name: Externe IP
style: |
.value {
font-size: 20px !important;
}
type: sensor
- entity: sensor.speedtest_ping
graph: line
icon: mdi:upload-outline
name: Ping
style: |
.value {
font-size: 20px !important;
}
type: sensor
type: horizontal-stack
keep:
margin: true
mode: vertical
type: custom:stack-in-card
icon: mdi:desktop-classic
path: system
title: System
- title: Alarmpanel
path: alarmpanel
icon: mdi:alarm-panel-outline
badges: []
cards:
- type: alarm-panel
states:
- arm_away
entity: alarm_control_panel.home_ge_alarm
name: Alarmpaneel
- icon: mdi:battery
badges: []
cards:
- type: custom:battery-state-card
title: Batterij niveau
color_gradient:
- '#ff0000'
- '#ffff00'
- '#00ff00'
entities:
- entity: sensor.mi_a3_battery_level
name: Sanders telefoon
- entity: sensor.sm_a405fn_battery_level
name: Sandra's telefoon
- entity: sensor.schuifpui_battery
name: Schuifpui deurcontact
- entity: sensor.voordeur_battery
name: Voordeur deurcontact
- entity: sensor.wc_deur_battery
name: WC deur deurcontact
- entity: sensor.wc_pir_battery
name: WC PIR
- entity: sensor.woonkamerschakelaar_battery
name: Woonkamer schakelaar
- entity: sensor.terrarium_battery_level_links
name: Terrarium temperatuur links
- entity: sensor.terrarium_battery_level_rechts
name: Terrarium temperatuur rechts
- entity: sensor.achtertuin_batterij_level
name: Weerstation achtertuin