forked from hhaim/hass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-lovelace.yaml
370 lines (347 loc) · 11.8 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
#title: My Awesome Home
# Include external resources
#resources:
# - url: /local/my-custom-card.js
# type: js
# - url: /local/my-webfont.css
# type: css
# Optional background for all views. Check https://developer.mozilla.org/en-US/docs/Web/CSS/background for more examples.
background: center / cover no-repeat url("/background.png") fixed
# Exclude entities from "Unused entities" view
#excluded_entities:
# - weblink.router
views:
# View tab title.
- title: Home
# Optional unique id for direct access /lovelace/${id}
id: main
# Optional background (overwrites the global background).
background: radial-gradient(crimson, skyblue)
# Each view can have a different theme applied. Theme should be defined in the frontend.
theme: dark-mode
# The cards to show on this view.
cards:
# The filter card will filter entities for their state
- type: entity-filter
entities:
- device_tracker.daniel_phone
- device_tracker.hhaim_phone
- device_tracker.nitay_phone
- device_tracker.nitay_pc
- device_tracker.rivi_phone
- device_tracker.sony_ps
- device_tracker.tv
- device_tracker.tv_wifi
- device_tracker.daniel_phone1
- device_tracker.daniel_phone2
- variable.tracker_neta
state_filter:
- 'home'
card:
type: glance
- type: glance
entities:
- entity: switch.b0
name: Boiler-On
icon: mdi:shower
- entity: sensor.btemp0
name: Boiler
icon: mdi:oil-temperature
- entity: variable.heat_index0
name: Down
icon: mdi:oil-temperature
- entity: variable.heat_index1
name: Up
icon: mdi:oil-temperature
- entity: variable.heat_index2
name: Base
icon: mdi:oil-temperature
- entity: variable.heat_index_outside0
name: Outside
icon: mdi:oil-temperature
- entity: sensor.uptime
name: uptime
- entity: sensor.water_total_external_norm
name: Water
- entity: sensor.wb_irrigation_p1
name: Pipe1
- entity: sensor.wb_irrigation_p2
name: Pipe2
- entity: sensor.wb_irrigation_rain
name: Rain
- type: entities
show_header_toggle: true
entities:
- switch.tv
- switch.ac1
- switch.ac2
- switch.ac3
- input_boolean.tracker_neta_enabled
- media_player.main
- type: entity-filter
entities:
- device_tracker.cam1
- device_tracker.cam2
- device_tracker.cam3
- device_tracker.cam4
- device_tracker.cam5
- device_tracker.alarm
state_filter:
- 'not_home'
card:
type: glance
title: Camera issues
- title: A/C
id: ac
theme: dark-mode
background: radial-gradient(lightgreen, skyblue)
cards:
- type: entities
title: A/C
show_header_toggle: true
entities:
- variable.heat_index0
- variable.heat_index1
- variable.heat_index2
- variable.heat_index_outside0
- switch.ac1
- switch.ac2
- switch.ac3
- type: entities
title: Automation
entities:
- input_boolean.heat_app_enable
- input_boolean.heat_app_enable_base
- input_boolean.heat_timer_0
- input_number.heat_timer_time
- type: history-graph
title: graph
hours_to_show : 24
entities:
- variable.heat_index0
- variable.heat_index1
- variable.heat_index2
- variable.heat_index_outside0
- switch.ac1
- switch.ac2
- switch.ac3
- title: Debug
id: debug
background: radial-gradient(crimson, skyblue)
theme: dark-mode
cards:
- type: entities
title: Machine
show_header_toggle: true
entities:
- group.cpu
- input_boolean.simple_switch0
- input_boolean.disable_ap_c7
- input_boolean.gateway_sound_enable
- input_number.gateway_sound_id
- binary_sensor.cube_158d000276ed22
- sensor.tv_hours
- sensor.water_total
- sensor.water_total_external
- light.gateway_light_7c49eb193b55
- light.light1
- title: Camera
id: cam
background: radial-gradient(crimson, skyblue)
theme: dark-mode
cards:
- type: entities
title: cam
show_header_toggle: true
entities:
- camera.cam5
- camera.cam1
- camera.cam2
- camera.cam3
- camera.cam4
- title: Alarm
id: alarm
background: radial-gradient(crimson, skyblue)
theme: dark-mode
cards:
- type: entity-filter
entities:
- binary_sensor.alarm0
- binary_sensor.alarm1
- binary_sensor.alarm2
- binary_sensor.alarm3
- binary_sensor.alarm4
- binary_sensor.alarm5
- binary_sensor.alarm6
- binary_sensor.alarm7
- binary_sensor.alarm8
- binary_sensor.alarm14
- binary_sensor.alarm15
- binary_sensor.alarm16
- binary_sensor.smoke_sensor_158d00024e008a
- binary_sensor.smoke_sensor_158d000287ae79
- binary_sensor.water_leak_sensor_158d000256cd9d
- binary_sensor.water_leak_sensor_158d00023385f2
- binary_sensor.water_leak_sensor_158d000256ce72
- binary_sensor.water_leak_sensor_158d000256ce93
- binary_sensor.water_leak_sensor_158d000256cede
- binary_sensor.water_leak_sensor_158d00027049bb
- binary_sensor.motion_sensor_158d0002b48209
- binary_sensor.motion_sensor_158d0002b75328
- binary_sensor.motion_sensor_158d0002b75423
- binary_sensor.motion_sensor_158d0002b7d400
- binary_sensor.motion_sensor_158d0002b7d548
- binary_sensor.motion_sensor_158d0002b7f8b4
- binary_sensor.motion_sensor_158d0002b85a33
- binary_sensor.motion_sensor_158d0002c7165a
state_filter:
- 'on'
card:
type: glance
title: sensors
- type: history-graph
title: graph
hours_to_show : 1
entities:
- binary_sensor.alarm0
- binary_sensor.alarm1
- binary_sensor.alarm2
- binary_sensor.alarm3
- binary_sensor.alarm4
- binary_sensor.alarm5
- binary_sensor.alarm6
- binary_sensor.alarm7
- binary_sensor.alarm8
- binary_sensor.alarm14
- binary_sensor.alarm15
- binary_sensor.alarm16
- binary_sensor.smoke_sensor_158d00024e008a
- binary_sensor.smoke_sensor_158d000287ae79
- binary_sensor.water_leak_sensor_158d000256cd9d
- binary_sensor.water_leak_sensor_158d00023385f2
- binary_sensor.water_leak_sensor_158d000256ce72
- binary_sensor.water_leak_sensor_158d000256ce93
- binary_sensor.water_leak_sensor_158d000256cede
- binary_sensor.water_leak_sensor_158d00027049bb
- binary_sensor.motion_sensor_158d0002b48209
- binary_sensor.motion_sensor_158d0002b75328
- binary_sensor.motion_sensor_158d0002b75423
- binary_sensor.motion_sensor_158d0002b7d400
- binary_sensor.motion_sensor_158d0002b7d548
- binary_sensor.motion_sensor_158d0002b7f8b4
- binary_sensor.motion_sensor_158d0002b85a33
- binary_sensor.motion_sensor_158d0002c7165a
- type: entities
title: Alarm control
show_header_toggle: true
entities:
- switch.alarm_s0
- switch.alarm_s1
- title: Alarm-All
id: alarm
background: radial-gradient(crimson, skyblue)
theme: dark-mode
cards:
- type: entities
title: all
show_header_toggle: true
entities:
- binary_sensor.alarm0
- binary_sensor.alarm1
- binary_sensor.alarm2
- binary_sensor.alarm3
- binary_sensor.alarm4
- binary_sensor.alarm5
- binary_sensor.alarm6
- binary_sensor.alarm7
- binary_sensor.alarm8
- binary_sensor.alarm14
- binary_sensor.alarm15
- binary_sensor.alarm16
- binary_sensor.smoke_sensor_158d00024e008a
- binary_sensor.smoke_sensor_158d000287ae79
- binary_sensor.water_leak_sensor_158d000256cd9d
- binary_sensor.water_leak_sensor_158d00023385f2
- binary_sensor.water_leak_sensor_158d000256ce72
- binary_sensor.water_leak_sensor_158d000256ce93
- binary_sensor.water_leak_sensor_158d000256cede
- binary_sensor.water_leak_sensor_158d00027049bb
- binary_sensor.motion_sensor_158d0002b48209
- binary_sensor.motion_sensor_158d0002b75328
- binary_sensor.motion_sensor_158d0002b75423
- binary_sensor.motion_sensor_158d0002b7d400
- binary_sensor.motion_sensor_158d0002b7d548
- binary_sensor.motion_sensor_158d0002b7f8b4
- binary_sensor.motion_sensor_158d0002b85a33
- binary_sensor.motion_sensor_158d0002c7165a
- title: Boiler
id: boiler
background: radial-gradient(crimson, skyblue)
theme: dark-mode
cards:
- type: entities
entities:
- sensor.btemp0
- switch.b0
- input_boolean.boiler_auto_enable
- input_number.boiler_timer_time
- input_number.boiler_temp_min
- input_number.boiler_temp_max
- sensor.boiler_total_hours
- sensor.boiler_total_hours2
- sensor.stats_mean
- type: history-graph
title: graph
hours_to_show : 24
entities:
- sensor.btemp0
- switch.b0
- title: Irrigation
id: Irrigation
background: radial-gradient(crimson, skyblue)
theme: dark-mode
cards:
- type: glance
entities:
- entity: switch.wbi_p1
name: tap1
- entity: switch.wbi_p2
name: tap2
- entity: sensor.wb_irrigation_p1
name: Pipe1
- entity: sensor.wb_irrigation_p2
name: Pipe2
- entity: sensor.wb_irrigation_rain
name: Rain
- entity: sensor.wbi_p1_hours
name: p1_hours
- entity: sensor.wbi_p2_hours
name: p2_hours
- entity: variable.wbi_water_p1
name: p1_l
- entity: variable.wbi_water_p2
name: p2_l
- entity: variable.wbi_last_duration_p1
name: p1_d
- entity: variable.wbi_last_duration_p2
name: p2_d
- type: entities
entities:
- sensor.wb_irrigation_rain_day
- sensor.wb_irrigation_fao56
- input_number.wbi_p1_duration
- input_number.wbi_p2_duration
- input_boolean.wbi_enabled
- type: entities
entities:
- input_number.wbi_week_p1_duration
- input_number.wbi_week_p2_duration
- type: history-graph
title: graph
hours_to_show : 168
entities:
- sensor.wb_irrigation_fao56
- sensor.wb_irrigation_rain
- sensor.wb_irrigation_rain_day
- sensor.wb_irrigation_p1
- sensor.wb_irrigation_p2