-
Notifications
You must be signed in to change notification settings - Fork 7
/
ui-lovelace.yaml
executable file
·340 lines (307 loc) · 10.4 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
#################################################################
## Home Assistant
resources:
- url: /local/lovelace-slider-entity-row/slider-entity-row.js
type: js
- url: /local/custom-lovelace/alarm_control_panel-card/alarm_control_panel-card.js
type: module
- url: /local/mini-media-player-bundle.js?v=0.9.8
type: module
title: Home Assistant
views:
#################################################################
## Home
- title: Home
path: home
cards:
- type: entities
title: Lights
show_header_toggle: false
entities:
- type: custom:slider-entity-row
entity: light.livingroom_light_level
toggle: true
- type: custom:slider-entity-row
entity: light.kitchen_light_level
toggle: true
- type: custom:slider-entity-row
entity: light.diningroom_light_level
toggle: true
- type: custom:slider-entity-row
entity: light.bedroom_light_level
toggle: true
- type: custom:slider-entity-row
entity: light.bathroom_light_level
toggle: true
- type: custom:slider-entity-row
entity: light.hallway_light_level
toggle: true
- type: custom:slider-entity-row
entity: light.nightstand1
toggle: true
- type: custom:slider-entity-row
entity: light.nightstand2
toggle: true
- type: entities
title: Things
show_header_toggle: false
entities:
- input_select.scene_selector
- switch.bedroom_outlet_switch_3
- switch.kitchen_outlet_switch
- switch.livingroom_outlet_switch_3
- sensor.dishwasher_status
- vacuum.roomba
- climate.dining_room
- entity: media_player.viziotv
type: "custom:mini-media-player"
show_source: small
hide_controls: true
hide_mute: true
volume_stateless: true
power_color: true
group: true
- entity: media_player.nadc338
type: "custom:mini-media-player"
show_source: small
hide_controls: true
hide_mute: true
volume_stateless: true
power_color: true
group: true
- type: vertical-stack
cards:
- type: entities
title: Playlist Control
show_header_toggle: false
entities:
- input_select.playlist_content
- input_select.playlist_source
- type: horizontal-stack
cards:
- type: entity-button
name: Play
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.playlist_action
icon: mdi-blank
entity: script.playlist_action
- type: entity-button
name: Stop
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.playlist_stop
icon: mdi-blank
entity: script.playlist_stop
- type: entity-button
name: Vol Down
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.playlist_voldown
icon: mdi-blank
entity: script.playlist_voldown
- type: entity-button
name: Vol Up
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.playlist_volup
icon: mdi-blank
entity: script.playlist_volup
- type: conditional
conditions:
- entity: media_player.living_room
state_not: "off"
- entity: media_player.living_room
state_not: "unavailable"
card:
type: custom:mini-media-player
entity: media_player.living_room
artwork: cover
short_info: true
power_color: true
show_progress: true
hide_mute: true
volume_stateless: true
- type: conditional
conditions:
- entity: media_player.kitchen_hub
state_not: "off"
- entity: media_player.kitchen_hub
state_not: "unavailable"
card:
type: custom:mini-media-player
entity: media_player.kitchen_hub
artwork: cover
short_info: true
power_color: true
show_progress: true
hide_mute: true
volume_stateless: true
- type: conditional
conditions:
- entity: media_player.kitchen_stereo
state_not: "off"
- entity: media_player.kitchen_stereo
state_not: "unavailable"
card:
type: custom:mini-media-player
entity: media_player.kitchen_stereo
artwork: cover
short_info: true
power_color: true
show_progress: true
hide_mute: true
volume_stateless: true
- type: conditional
conditions:
- entity: media_player.bedroom_speaker
state_not: "off"
- entity: media_player.bedroom_speaker
state_not: "unavailable"
card:
type: custom:mini-media-player
entity: media_player.bedroom_speaker
artwork: cover
short_info: true
power_color: true
show_progress: true
hide_mute: true
volume_stateless: true
- type: conditional
conditions:
- entity: media_player.basement_group
state_not: "off"
- entity: media_player.basement_group
state_not: "unavailable"
card:
type: custom:mini-media-player
entity: media_player.basement_group
artwork: cover
short_info: true
power_color: true
show_progress: true
hide_mute: true
volume_stateless: true
# - type: weather-forecast
# entity: weather.dark_sky
# - type: picture-entity
# entity: camera.midwest_radar
# show_state: false
#################################################################
## Security
- title: Security
path: security
cards:
- type: custom:alarm_control_panel-card
entity: alarm_control_panel.main
show_keypad: true
title: Alarm Control
hide_keypad: true
style: '--alarm-color-disarmed: var(--label-badge-blue);'
states:
- arm_home
- arm_away
- type: entities
title: Locks
show_header_toggle: false
entities:
- lock.front_door_handle_locked
- type: glance
title: Occupancy Sensors
entities:
- binary_sensor.user1_occupancy
- binary_sensor.user2_occupancy
- binary_sensor.user3_occupancy
- binary_sensor.user4_occupancy
- type: glance
title: Door Sensors
entities:
- binary_sensor.frontdoor_contact
- binary_sensor.sidedoor_contact
- binary_sensor.backdoor_contact
- type: glance
title: Motion Sensors
entities:
- binary_sensor.uplivingroom_motion_sensor
- binary_sensor.upoffice_motion_sensor
- binary_sensor.hallway_motion1_sensor
- binary_sensor.hallway_motion2_sensor
- binary_sensor.bathroom_motion_sensor
- type: picture-entity
entity: camera.frontdoor
show_state: false
- type: picture-entity
entity: camera.backdoor
show_state: false
#################################################################
## Settings
- title: Settings
path: settings
cards:
- type: entities
title: Automation Override
show_header_toggle: false
entities:
- input_boolean.disable_bathroom_lights
- input_boolean.disable_hallway_lights
- input_boolean.disable_kitchen_lights
- input_boolean.disable_bathroom_heater
- input_boolean.disable_nest
- input_boolean.disable_roomba_schedule
- input_boolean.disable_bathroom_heater_schedule
- input_boolean.disable_lock_automation
- input_boolean.disable_alarm_system
- alarm_control_panel.main
- switch.bedroom_outlet_switch_2
- switch.livingroom_outlet_switch_2
- type: entities
title: Alarm Clock
show_header_toggle: false
entities:
- input_boolean.alarmclock_enabled_wd
- input_datetime.alarmclock_time_wd
- type: section
- input_boolean.alarmclock_enabled_we
- input_datetime.alarmclock_time_we
- type: section
- input_boolean.alarmclock_espresso
- input_select.alarmclock_content
- input_boolean.alarmclock_cancel
- type: entities
title: Media Override
show_header_toggle: false
entities:
- media_player.viziotv
- media_player.basement_group
- media_player.living_room
- media_player.kitchen_stereo
- media_player.nadc338
- media_player.bedroom_speaker
- media_player.kitchen_hub
- type: entities
title: Sensors
show_header_toggle: false
entities:
- sensor.user1_bedroom
- sensor.user1_office
- sensor.user1_upstairs
- type: section
- sensor.user2_bedroom
- sensor.user2_office
- sensor.user2_upstairs
- type: section
- sensor.user3_bedroom
- sensor.user3_office
- sensor.user3_upstairs
- type: section
- sensor.user4_bedroom
- sensor.user4_office
- sensor.user4_upstairs