-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lights and Scripts tab
386 lines (386 loc) · 14 KB
/
Lights and Scripts tab
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
type: vertical-stack
cards:
- enableColumns: true
home: false
haptic: light
rows:
- columns:
- column: 0
entities:
- entities:
- entity: light.living_room
name: LivingRm
hideState: true
icon: mdi:sofa
double_tap_action:
action: more-info
entity: light.living_room
popupExtend:
actions:
- color: '#ffffff'
name: White
service: scene.turn_on
service_data:
entity_id: scene.living_room_1_white
- color: '#f1ebdf'
name: Dimmed
service: scene.turn_on
service_data:
entity_id: scene.living_room_2_white_dimmed
- color: '#f290f4'
name: Pink
service: scene.turn_on
service_data:
entity_id: scene.living_room_3_pink
- color: '#fcb92e'
name: Orange
service: scene.turn_on
service_data:
entity_id: scene.living_room_4_orange
- color: '#20f32f '
name: Ireland
service: scene.turn_on
service_data:
entity_id: scene.living_room_5_ireland
state: false
- entity: light.bedroom
name: Bedroom
icon: mdi:bed
hideState: true
double_tap_action:
action: more-info
entity: light.bedroom
- entity: switch.fairy_litez
name: FairyLitez
icon: mdi:string-lights
hideState: true
double_tap_action:
action: more-info
entity: switch.fairy_litez
- entity: light.office
name: Office
icon: phu:rooms-office
hideState: true
double_tap_action:
action: more-info
entity: light.office
popupExtend:
actions:
- color: '#fbe9d2'
name: White
service: scene.turn_on
service_data:
entity_id: scene.office_nomie_bright
- color: '#FFFFFF'
name: Brightest
service: scene.turn_on
service_data:
entity_id: scene.office_blue_bright_light
- color: '#f290f4'
name: Pink
service: scene.turn_on
service_data:
entity_id: scene.office_pank
- color: '#fcb92e'
name: Orangey
service: scene.turn_on
service_data:
entity_id: scene.office_orangey2
- entity: light.spare_bedroom
name: Spare Bed
icon: mdi:bed-empty
double_tap_action:
action: more-info
entity: light.spare_bedroom
hideState: true
- entity: light.hall
icon: hue:room-hallway
name: Hall
hideState: true
double_tap_action:
action: more-info
entity: light.hall
- card: custom:mini-graph-card
cardOptions:
entities:
- sensor.hall_sensor_temperature
name: HALL
noPadding: true
wider: true
popup:
type: custom:light-popup-card
displayType: slider
sliderColoredByLight: true
fullscreen: true
hideIcon: true
hideState: true
brightnessWidth: 100px
settings:
openButton: Settings
closeButton: Close
settingsPosition: bottom
settingsCard:
type: custom:light-entity-card
cardOptions:
entity: this
shorten_cards: false
hide_header: false
persist_features: true
show_slider_percent: true
full_width_sliders: false
brightness: false
color_temp: true
white_value: true
color_wheel: true
color_picker: true
effects_list: false
child_card: false
style: |
ha-card {
width: 400px;
}
title: All Rooms
tileOnRow: 5
statePositionTop: false
title: null
titleColor: '#00000'
type: custom:homekit-card
style: |
:host {
--tile-width: 70px;
--tile-height: 70px;
--tile-icon-size: 30px;
--tile-value-text-color: rgba(5, 0, 0, 1);
--tile-background: rgba(180, 180, 180, 1);
}
useBrightness: true
useTemperature: true
doubleTapFallback: hold
doubleTapDisabledWhenNoActionSet: true
tileHoldAnimation: true
useRGB: true
masonry: false
- enableColumns: true
home: false
rows:
- columns:
- column: 0
entities:
- entities:
- entity: light.living_room_floor_lamp
icon: mdi:floor-lamp-torchiere-variant
name: Floor Lamp
hideState: true
double_tap_action:
action: more-info
entity: light.living_room_floor_lamp
- entity: light.living_room_table_lamp
icon: mdi:lamp
name: Table Lamp
hideState: true
double_tap_action:
action: more-info
entity: light.living_room_table_lamp
- entity: light.tv_strip
icon: hue:lightstrip-tv
name: TV Strip
hideState: true
double_tap_action:
action: more-info
entity: light.tv_strip
- entity: light.fire
icon: mdi:fire
name: Fire
double_tap_action:
action: more-info
entity: light.fire
- entity: switch.nintendo_switch
name: Switch
icon: mdi:nintendo-switch
noPadding: false
wider: false
double_tap_action:
action: more-info
entity: switch.nintendo_switch
- entity: switch.xbox
icon: mdi:microsoft-xbox
name: Xbox
noPadding: false
wider: false
double_tap_action:
action: more-info
entity: switch.xbox
- entity: switch.plex_shield
icon: mdi:plex
name: Plex
noPadding: false
wider: false
double_tap_action:
action: more-info
entity: switch.plex_shield
- entity: switch.nvidiashield
icon: phu:nvidia-shield
name: Shield
noPadding: false
wider: false
double_tap_action:
action: more-info
entity: switch.nvidiashield
popup:
type: custom:light-popup-card
displayType: slider
sliderColoredByLight: true
fullscreen: true
hideIcon: true
hideState: true
brightnessWidth: 100px
settings:
openButton: Settings
closeButton: Close
settingsPosition: bottom
settingsCard:
type: custom:light-entity-card
cardOptions:
entity: this
shorten_cards: false
hide_header: false
persist_features: true
show_slider_percent: true
full_width_sliders: false
brightness: false
color_temp: true
white_value: true
color_wheel: true
color_picker: true
effects_list: false
child_card: false
style: |
ha-card {
width: 400px;
}
title: Living Room
tileOnRow: 5
statePositionTop: false
title: null
titleColor: '#00000'
type: custom:homekit-card
style: |
:host {
--tile-width: 70px;
--tile-height: 70px;
--tile-icon-size: 30px;
--tile-value-text-color: rgba(5, 0, 0, 1);
--tile-background: rgba(180, 180, 180, 1);
}
useBrightness: true
useTemperature: true
doubleTapFallback: hold
doubleTapDisabledWhenNoActionSet: true
tileHoldAnimation: true
useRGB: true
masonry: false
- enableColumns: true
home: false
rows:
- columns:
- column: 0
entities:
- entities:
- entity: light.office_main
name: Main
icon: hue:ceiling-explore
hideState: true
double_tap_action:
action: more-info
entity: light.office_main
- entity: light.office_desk_lamp
icon: mdi:desk-lamp
name: Desk Lamp
hideState: true
double_tap_action:
action: more-info
entity: light.office_desk_lamp
- entity: light.office_strip
icon: mdi:led-strip-variant
name: Strip
hideState: true
double_tap_action:
action: more-info
entity: light.office_strip
- entity: light.printer
icon: mdi:printer
name: Printer
double_tap_action:
action: more-info
entity: light.printer
- entity: switch.living_room_camera
name: Living Room Camera
offIcon: mdi:webcam-off
icon: mdi:webcam
hideState: true
wider: true
double_tap_action:
action: more-info
entity: switch.living_room_camera
- entity: switch.hoffice_camerall_camera
name: Office Camera
offIcon: mdi:webcam-off
icon: mdi:webcam
hideState: true
wider: true
double_tap_action:
action: more-info
entity: switch.hoffice_camerall_camera
popup:
type: custom:light-popup-card
displayType: slider
sliderColoredByLight: true
fullscreen: true
hideIcon: true
hideState: true
brightnessWidth: 100px
settings:
openButton: Settings
closeButton: Close
settingsPosition: bottom
settingsCard:
type: custom:light-entity-card
cardOptions:
entity: this
shorten_cards: false
hide_header: false
persist_features: true
show_slider_percent: true
full_width_sliders: false
brightness: false
color_temp: true
white_value: true
color_wheel: true
color_picker: true
effects_list: false
child_card: false
style: |
ha-card {
width: 400px;
}
title: Office
tileOnRow: 5
statePositionTop: false
title: null
titleColor: '#00000'
type: custom:homekit-card
style: |
:host {
--tile-width: 70px;
--tile-height: 70px;
--tile-icon-size: 30px;
--tile-value-text-color: rgba(5, 0, 0, 1);
--tile-background: rgba(180, 180, 180, 1);
}
useBrightness: true
useTemperature: true
doubleTapFallback: hold
doubleTapDisabledWhenNoActionSet: true
tileHoldAnimation: true
useRGB: true
masonry: false