-
Notifications
You must be signed in to change notification settings - Fork 0
/
lovelace_rooms.yaml
256 lines (250 loc) · 6.84 KB
/
lovelace_rooms.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
- name: woonkamer
icon: hue:room-living
color: red
areas:
- woonkamer
cards:
- entity: media_player.woonkamer
- type: custom:mod-card
card:
type: custom:mini-media-player
entity: media_player.dapy
sound_mode: full
source: full
artwork: full-cover
max_volume: '30'
min_volume: '1'
volume_step: '1'
name: DAPY NEON
view_layout:
grid-column-end: span 2
- type: tile
entity: switch.ps5_606_power
- name: eetkamer
areas:
- eetkamer
icon: hue:room-dining
color: orange
cards:
- entity: media_player.eetkamer
- entity: input_datetime.kattenbak
type: custom:lovelace_gen-timer
days: 3
confirmation:
text: Geen kakkiejakkie meer?
- name: keuken
areas:
- keuken
icon: hue:room-kitchen
color: yellow
cards:
- entity: media_player.keuken
- entity: light.keuken_vier
name: Aanrecht
- entity: input_datetime.drinkfontein
days: 5
confirmation:
text: Weer woeiert?
- entity: input_datetime.koffiezetapparaat
days: 90
confirmation:
text: Waterfilter vervangen en alles ontkalkt/schoongemaakt?
# - entity: input_datetime.ijsblokjesmachine
# days: 60
# confirmation:
# text: Schoongemaakt en ontkalkt?
- name: bijkeuken
areas:
- bijkeuken
color: light-blue
icon: hue:room-laundry
cards:
- entity: input_datetime.droger
days: 30
confirmation:
text: Filters schoon?
- type: conditional
conditions:
- entity: sensor.washer
state: "off"
card:
type: custom:mushroom-template-card
icon_color: grey
primary: "{{ state_attr(entity, 'friendly_name') }}"
secondary: |
{% from 'easy_time.jinja' import easy_relative_time %}
{{ easy_relative_time(entity) }}
entity: input_datetime.wasmachine
badge_color: orange
icon: "{{ state_attr(entity, 'icon') }}"
hold_action:
action: more-info
tap_action:
action: call-service
service: script.reset_reminder
data:
dagen: 30
target:
entity_id: input_datetime.wasmachine
confirmation:
text: Filters en Bakjes Schoon?
badge_icon: "{% if as_timestamp(now()) > as_timestamp(states(config.entity)) %}mdi:exclamation-thick{% endif %}"
card_mod:
class: reminder
style:
mushroom-shape-icon$: |
.shape {
background: radial-gradient(var(--card-background-color) 60%, transparent 0%), conic-gradient(rgb(var(--rgb-orange)) {{ ((states(config.entity) | as_datetime | as_local - now()).days + 1) * (100 / 30) }}% 0%, var(--card-background-color) 0% 100%);
}
.shape:after {
content: "";
height: 100%;
width: 100%;
position: absolute;
border-radius: 50%;
background: rgba(var(--rgb-{{ config.icon_color }}), 0.2);
}
- type: conditional
view_layout:
grid-column-end: span 2
conditions:
- entity: sensor.washer
state_not: "off"
card:
type: picture-elements
entity: sensor.washer
image: /local/hass-combo-card-transparent-bg.png
elements:
- type: image
entity: sensor.washer_run_state
image: /local/lg-icons/sensing.png
state_image:
Detecting: /local/lg-icons/sensing-on.png
Beladingsdetectie: /local/lg-icons/sensing-on.png
style:
top: 33%
left: 33%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.washer_run_state
image: /local/lg-icons/wash.png
state_image:
Washing: /local/lg-icons/wash-on.png
Wassen: /local/lg-icons/wash-on.png
style:
top: 33%
left: 51%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.washer_run_state
image: /local/lg-icons/rinse.png
state_image:
Rinsing: /local/lg-icons/rinse-on.png
Spoelen: /local/lg-icons/rinse-on.png
style:
top: 33%
left: 69%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.washer_run_state
image: /local/lg-icons/spin.png
state_image:
Spinning: /local/lg-icons/spin-on.png
Centrifugeren: /local/lg-icons/spin-on.png
style:
top: 33%
left: 87%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.washer
image: /local/lg-icons/wifi.png
state_image:
"on": /local/lg-icons/wifi-on.png
style:
top: 73%
left: 32%
width: 10%
image-rendering: crisp
- type: image
entity: sensor.washer_door_lock
image: /local/lg-icons/lock.png
state_image:
"on": /local/lg-icons/lock-on.png
style:
top: 73%
left: 45%
width: 10%
image-rendering: crisp
- type: state-label
entity: sensor.blank
prefix: "18:88"
style:
color: "#555"
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: "translate(-100%,-50%)"
- type: state-label
entity: sensor.washer_time_display
style:
color: "#8df427"
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: "translate(-100%,-50%)"
- name: slaapkamer
icon: hue:room-bedroom
color: purple
areas:
- slaapkamer
cards:
- entity: media_player.slaapkamer
- name: kantoor
icon: hue:room-office
color: light-blue
areas:
- kantoor
cards:
- type: tile
entity: sensor.hp_envy_pro_6400_series
- name: toilet
icon: hue:room-toilet
color: brown
areas:
- toilet
cards:
- entity: media_player.toilet
- name: badkamer
icon: hue:room-bathroom
color: blue
areas:
- badkamer
cards:
- entity: media_player.badkamer
- type: tile
entity: fan.mini1g3_kitchen4_relais
- name: tuin
icon: phu:garden
color: teal
areas:
- tuin
cards: []
- name: overloop
icon: hue:room-stairs
color: amber
areas:
- overloop
- trap
cards: []
- name: hal
color: purple
icon: None
areas:
- hal
cards: []