-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlovelace-popup.yaml
More file actions
305 lines (305 loc) · 7.86 KB
/
Copy pathlovelace-popup.yaml
File metadata and controls
305 lines (305 loc) · 7.86 KB
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
# dwains_dashboard
type: custom:stack-in-card
cards:
- type: custom:mini-media-player
entity: media_player.tv_livingroom
name: Living Room TV
scale: '1.4'
hide:
name: false
shuffle: tru
info: true
icon: true
icon_state: false
progress: true
source: false
volume: true
sound_mode: false
controls: true
runtime: false
power: false
mute: true
artwork: none
volume_stateless: true
source: full
info: scroll
group: false
volume_step: '5'
card_mod:
style: |
div.mmp__bg {
/*opacity: 1;*/
transition: none !important;
}
div.cover {
transition: none !important;
}
div.cover-gradient {
transition: none !important;
}
div.mmp-player {
transition: none !important;
}
- type: media-control
entity: media_player.plex_plex_for_samsung_tv_2019
title: Plex
name: Plex
card_mod:
style: |
div.player.no-image.no-progress {
display: flex;
}
div.top-info {
display: flex;
}
div.media-info {
display: none;
}
div.background {
display: true;
opacity: 1;
transition: none;
}
div.no-img {
display: none;
/*opacity: 1;*/
transition: none;
}
div.image {
display: none;
opacity: 0.7;
transition: none;
}
div.color-gradient {
display: none;
/*opacity: 0.7;*/
transition: none;
}
div.color-block {
display: true;
/*opacity: 0.7;*/
/*background-color: black !important;*/
transition: none;
}
div.background.off {
display: none;
}
div.background.no-image {
display: none
}
ha-icon-button:not(.browse-media) {
display: none;
}
ha-card {
width: 100%; /*force a value of > 300px to keep the controls if needed*/
}
ha-icon-button {
padding: 0 0 25px 0
}
mwc-icon-button {
margin-bottom: 4px;
margin-right: 16px;
display: true;
position: absolute !important;
right: 15px ;
--mdc-icon-size: 45px !important;
}
div.title-controls {
padding: 0 0 3px;
}
.no-progress.player {
padding-bottom: 0px !important;
}
div.player {
/*color: inherit !important;*/
padding-top: 0px;
padding-bottom: 0px;
margin-bottom: 0px;
}
div.off {
display: true;
}
mwc-linear-progress{
display:none;
}
- type: custom:mini-media-player
entity: media_player.plex_plex_for_samsung_tv_2019
name: Obývačka TV
scale: '1.4'
hide:
name: true
shuffle: true
icon: true
icon_state: false
progress: true
source: false
volume: true
sound_mode: false
controls: true
runtime: false
power: true
mute: true
artwork: material
volume_stateless: true
source: full
info: scroll
group: false
volume_step: '5'
card_mod:
style: |
div.mmp__bg {
/*opacity: 1;*/
transition: none !important;
}
div.cover {
transition: none !important;
}
div.cover-gradient {
transition: none !important;
}
div.mmp-player {
transition: none !important;
}
div.mini-media-player-background-opacity {
opacity: 0;
}
- type: horizontal-stack
cards:
- type: grid
square: false
columns: 5
cards:
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_rewind
service_data: {}
target: {}
show_name: false
entity: media_player.tv_livingroom
icon: mdi:rewind
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_play
service_data: {}
target: {}
entity: media_player.tv_livingroom
icon: mdi:play
show_name: false
show_icon: true
show_state: false
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_pause
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:pause
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_stop
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:stop
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_fastforward
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:fast-forward
- type: grid
square: false
cards:
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_mute
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:volume-off
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_key_up
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:arrow-up-thick
show_icon: true
- type: button
tap_action:
action: call-service
service: media_player.volume_up
service_data: {}
target:
entity_id: media_player.tv_livingroom
entity: media_player.tv_livingroom
show_name: false
icon: mdi:volume-plus
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_key_left
service_data: {}
target: {}
entity: media_player.tv_livingroom
icon: mdi:arrow-left-thick
show_name: false
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_key_enter
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:location-enter
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_key_right
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:arrow-right-thick
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_key_return
service_data: {}
target: {}
entity: media_player.tv_livingroom
icon: mdi:keyboard-return
show_name: false
- type: button
tap_action:
action: call-service
service: script.livingroom_tv_key_down
service_data: {}
target: {}
entity: media_player.tv_livingroom
show_name: false
icon: mdi:arrow-down-thick
- type: button
tap_action:
action: call-service
service: media_player.volume_down
service_data: {}
target:
entity_id: media_player.tv_livingroom
entity: media_player.tv_livingroom
show_name: false
icon: mdi:volume-minus