Last active
August 20, 2019 13:11
-
-
Save iantrich/4c77663c5e51a2f5ff819e2691d6c16f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anchors: | |
decluttering_album: &decluttering_album | |
type: custom:decluttering-card | |
template: album | |
coverflow_card: &coverflow_card | |
type: custom:swipe-card | |
parameters: | |
effect: 'coverflow' | |
grabCursor: true | |
centeredSlides: true | |
slidesPerView: 3 | |
slidesPerColumn: 3 | |
spaceBetween: 10 | |
freeMode: true | |
freeModeSticky: true | |
autoplay: | |
delay: 3000 | |
disableOnInteraction: false | |
coverflowEffect: | |
rotate: 30 | |
stretch: 0 | |
depth: 100 | |
modifier: 1 | |
slideShadows : true | |
decluttering_templates: | |
album: | |
card: | |
type: vertical-stack | |
cards: | |
- type: picture-elements | |
image: '[[image]]' | |
elements: | |
- type: icon | |
icon: mdi:play | |
tap_action: | |
action: call-service | |
service: spotcast.start | |
service_data: | |
device_name: Office Display | |
uri: '[[uri]]' | |
style: | |
top: 90% | |
left: 30% | |
- type: icon | |
icon: mdi:shuffle | |
tap_action: | |
action: call-service | |
service: spotcast.start | |
service_data: | |
device_name: Office Display | |
uri: '[[uri]]' | |
random_song: true | |
style: | |
top: 90% | |
left: 70% | |
- type: custom:button-card | |
name: > | |
[[[ | |
return "<div>[[name]]</div><div>[[artist]]</div></br>" | |
]]] | |
title: Home | |
background: center / cover no-repeat url("/local/images/background_1.jpg") fixed | |
views: | |
- path: jukebox | |
title: Jukebox | |
badges: [] | |
cards: | |
- type: vertical-stack | |
cards: | |
- type: custom:mini-media-player | |
entity: media_player.bedroom_display | |
artwork: cover | |
- <<: *coverflow_card | |
cards: | |
- <<: *decluttering_album | |
variables: | |
- image: https://i.scdn.co/image/1dcda349e3e10f66cb61b6574afde6da31d80fa6 | |
- uri: spotify:playlist:59YtBBPUHabClKxFeHSO8m | |
- name: Thriller | |
- artist: Michael Jackson | |
- <<: *decluttering_album | |
variables: | |
- image: https://i.scdn.co/image/a3b79dc537fe92bc84118ea3913b5695a634963c | |
- uri: spotify:playlist:5qbkkwDtOXsBFRs0VFal33 | |
- name: Blue's Farm | |
- artist: Ron Carter | |
- <<: *decluttering_album | |
variables: | |
- image: https://i.scdn.co/image/1ee2055a078d87a5a55366189409b9e1d820972a | |
- uri: spotify:playlist:5ZgJPsvCCyPY5UuPA3WWkO | |
- name: 25 | |
- artist: Adele |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment