-
Notifications
You must be signed in to change notification settings - Fork 1
/
ui-lovelace.yaml
424 lines (421 loc) · 13.3 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
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
title: Oberstadt Home
excluded_entities:
views:
- title: Home
icon: mdi:home
background: var(--background-image)
cards:
- type: conditional
conditions:
- entity: cover.garage_door
state: "open"
card:
type: entities
show_header_toggle: false
entities:
- type: call-service
icon: mdi:garage-open
name: Garage Door
action_name: Close
service: cover.close_cover
service_data:
entity_id: cover.garage_door
- type: custom:simple-weather-card
entity: weather.dark_sky
name: " "
backdrop:
day: "var(--primary-color)"
night: "#40445a"
secondary_info:
- humidity
- precipitation_probability
- type: glance
columns: 6
entities:
- entity: sensor.avg_real_feel
name: Inside
- entity: sensor.dark_sky_apparent_temperature
name: Outside
- entity: group.house_motion
icon: mdi:run-fast
name: Motion
- entity: input_select.spencer_status_dropdown
icon: mdi:account
- entity: input_select.lynsey_status_dropdown
icon: mdi:account
- entity: cover.garage_door
name: Garage Door
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: button
entity: scene.evening
icon: mdi:weather-sunset
name: Evening
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.evening
- type: button
entity: scene.good_night_lights
icon: mdi:flashlight
name: Night Light
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.good_night_lights
- type: button
entity: script.good_night
icon: mdi:sleep
name: All Off
tap_action:
action: call-service
service: script.good_night
- type: horizontal-stack
cards:
- type: button
entity: scene.romantic
icon: mdi:heart
name: Romantic
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.romantic
- type: button
entity: scene.movie_playing
icon: mdi:movie
name: Movie
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.movie_playing
- type: button
entity: scene.lily_bed_time
icon: mdi:baby-carriage
name: Lily Bed Time
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.lily_bed_time
- type: entities
title: Light Groups
show_header_toggle: false
entities:
- light.living_room_lights
- light.kitchen_lights
- light.bedroom_lights
- light.sitting_room_lights
- light.dining_room_lights
- light.mood_lights
- light.front_door_light
- type: custom:thermostat-card
entity: climate.2gig_technologies_ct101_thermostat_iris_mode
step: 1
title: ""
- type: picture-glance
title: Front Door
camera_image: camera.front_door
camera_view: live
entities:
- camera.front_door
- type: markdown
content: |
## Lily's Door {{ states('input_select.lily_door_status_dropdown') }} For
{% set minutes_closed = (as_timestamp(now()) - as_timestamp(states.input_select.lily_door_status_dropdown.last_changed)) / 60 %}
{% if minutes_closed > 60 -%}
{{ (minutes_closed / 60) | round(0, 'floor') }} {{ 'hours ' }}
{%- endif %}
{{- (minutes_closed % 60) | round() }} minutes
- title: Lights
background: var(--background-image)
icon: mdi:lightbulb-on-outline
cards:
- type: entities
title: Living Room
entities:
- light.living_room_couch_1
- light.living_room_couch_2
- light.behind_tv_lamp
- type: entities
title: Dining Room
entities:
- light.dining_room_lamp
- light.6001948a98a2_1921680101
- type: entities
title: Kitchen
entities:
- light.sink
- light.oven
- light.bulb_4578
- light.kitchen_cabinet
- light.kitchen_overhead_lights
- type: entities
title: Bedroom Lights
entities:
- light.ge_12724_3way_dimmer_switch_level
- light.flux_bedroom
- type: entities
title: Lily Bedroom
entities:
- light.flux_lily_bedroom
- type: entities
title: Sitting Room
entities:
- switch.teckin_6634
- switch.sonoff_1
- switch.meross_1
- light.wled_1
- type: entities
title: Extra
entities:
- switch.meross_2
- switch.etekcity_1
- switch.etekcity_2
- type: entities
show_header_toggle: false
entities:
- entity: light.mood_lights
- type: "custom:rgb-light-card"
entity: light.mood_lights
justify: center
colors:
- rgb_color:
- 255
- 0
- 0
- rgb_color:
- 255
- 165
- 0
- rgb_color:
- 0
- 255
- 0
- rgb_color:
- 0
- 255
- 255
- rgb_color:
- 0
- 0
- 255
- rgb_color:
- 255
- 0
- 255
- title: Media
icon: mdi:television
background: var(--background-image)
cards:
- type: horizontal-stack
cards:
- type: button
entity: media_player.roku
icon: mdi:netflix
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.roku
source: Netflix
- type: button
entity: media_player.roku
icon: mdi:amazon
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.roku
source: Prime Video
- type: button
entity: media_player.roku
icon: mdi:youtube
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.roku
source: YouTube
- type: button
entity: media_player.roku
icon: mdi:plus
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.roku
source: Disney Plus
- type: button
entity: media_player.roku
icon: mdi:alpha-j-circle
show_name: false
tap_action:
action: call-service
service: script.jeopardy
- type: custom:roku-card
entity: media_player.roku
tv: true
- type: media-control
entity: media_player.roku
- type: media-control
entity: media_player.living_room_tv
- type: vertical-stack
cards:
- type: custom:mini-media-player
entity: media_player.kitchen_speaker
icon: mdi:cast
- type: custom:mini-media-player
entity: media_player.bedroom_speaker
icon: mdi:cast
- type: custom:mini-media-player
entity: media_player.googlehome9316
icon: mdi:cast
- type: horizontal-stack
cards:
- type: picture-entity
entity: media_player.roku
image: /local/nbc.png
show_name: false
show_state: false
tap_action:
action: call-service
service: media_player.play_media
service_data:
entity_id: media_player.roku
media_content_type: channel
media_content_id: "2.1"
- type: picture-entity
entity: media_player.roku
image: /local/cbs.png
show_name: false
show_state: false
tap_action:
action: call-service
service: media_player.play_media
service_data:
entity_id: media_player.roku
media_content_type: channel
media_content_id: "6.1"
- type: picture-entity
entity: media_player.roku
image: /local/abc.png
show_name: false
show_state: false
tap_action:
action: call-service
service: media_player.play_media
service_data:
entity_id: media_player.roku
media_content_type: channel
media_content_id: "9.1"
- type: picture-entity
entity: media_player.roku
image: /local/fox.png
show_name: false
show_state: false
tap_action:
action: call-service
service: media_player.play_media
service_data:
entity_id: media_player.roku
media_content_type: channel
media_content_id: "35.1"
- title: Settings
icon: mdi:cog
background: var(--background-image)
path: settings
cards:
- type: entities
entities:
- climate.2gig_technologies_ct101_thermostat_iris_mode
- type: entities
title: More Details
show_header_toggle: false
entities:
- sun.sun
- sensor.dark_sky_summary
- sensor.dark_sky_temperature
- sensor.dark_sky_humidity
- sensor.arrow_2_temperature
- sensor.arrow_2_humidity
- sensor.house_mean_temperature
- sensor.house_mean_humidity
- sensor.avg_real_feel
- type: entities
title: Wake-up Times
show_header_toggle: false
entities:
- input_datetime.special_wakeup
- script.clear_special_wakup
- input_datetime.weekday_wakeup
- input_datetime.weekend_wakeup
- input_datetime.lily_wakeup
- input_datetime.bedtime
- type: entities
title: Speedtest
show_header_toggle: false
entities:
- sensor.speedtest_download
- sensor.speedtest_ping
- type: entities
title: Tracked Devices
show_header_toggle: false
entities:
- device_tracker.spencer_phone
- device_tracker.spencer_mac
- device_tracker.lynsey_phone
- device_tracker.lynsey_mac
- device_tracker.kitchen_camera
- type: entities
title: House Motion
show_header_toggle: false
entities:
- binary_sensor.arrow_1_motion
- binary_sensor.living_room_motion
- binary_sensor.arrow_9_motion
- type: entities
title: Garage
show_header_toggle: false
entities:
- camera.camera_1
- cover.garage_door
- type: vertical-stack
cards:
- type: history-graph
title: Family Presence
entities:
- entity: input_select.family_status_dropdown
name: Family
- input_select.spencer_status_dropdown
- input_select.lynsey_status_dropdown
- type: entities
show_header_toggle: false
entities:
- input_select.spencer_status_dropdown
- input_select.lynsey_status_dropdown
- input_select.family_status_dropdown
- input_boolean.guest_mode
- type: entities
title: System
show_header_toggle: false
entities:
- sensor.ha_uptime
- input_select.hass_theme
- type: entities
title: SpaceX
show_header_toggle: false
entities:
- sensor.spacex_next_mission_name
- sensor.spacex_next_launch_date
- !include lovelace/arrows_view.yaml
- !include lovelace/automations_view.yaml