Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:button-card
- styles:
- grid:
- - grid-template-areas: >-
- "title" "header" "subhead1" "compilations" "divider1" "subhead2"
- "news" "divider2" "subhead3" "songs"
- grid-template-columns: 1fr
- grid-template-rows: auto
- align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- card:
- - background-color: transparent
- border: solid 2px transparent
- height: 375px
- width: 302.5px
- padding: 15px 10px 0px 10px
- overflow-y: auto
- margin: 0px 0px 0px 0px
- show_state: false
- show_name: false
- show_icon: false
- custom_fields:
- title:
- card:
- type: custom:button-card
- name: Media
- styles:
- name:
- - font-size: 18px
- font-weight: 600
- padding: 15px 15px 0px 15px
- align-self: start
- justify-self: start
- card:
- - background-color: transparent
- height: 100%
- border-radius: 0px
- padding: 0px
- margin: '-10px 0px 10px 0px'
- header:
- card:
- type: custom:button-card
- template: divider
- styles:
- card:
- - margin: 0px 0px -10px 0px
- width: 280px
- divider1:
- card:
- type: custom:button-card
- template: divider
- styles:
- card:
- - margin: 10px 0px 0px 0px
- width: 280px
- divider2:
- card:
- type: custom:button-card
- template: divider
- styles:
- card:
- - margin: 10px 0px 0px 0px
- width: 280px
- subhead1:
- card:
- type: custom:button-card
- template: subheading
- variables:
- var_name: Quick Links
- styles:
- card:
- - padding: 15px 15px 10px 15px
- compilations:
- card:
- type: custom:button-card
- show_state: false
- show_name: false
- show_icon: false
- styles:
- grid:
- - grid-template-areas: '"row1"'
- align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- card:
- - background-color: transparent
- padding: 0px 0px 0px 15px
- margin: 0px 0px 0px -2px
- width: 300px
- height: 100%
- overflow-x: auto
- border-radius: 0px
- custom_fields:
- row1:
- card:
- type: custom:button-card
- custom_fields:
- tracks:
- card:
- type: horizontal-stack
- cards:
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: /local/images/playlists/nova.jpg
- var_name: Nova100
- var_entity: input_boolean.nova
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: /local/images/playlists/sen.jpg
- var_name: SEN
- var_entity: input_boolean.sen
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: /local/images/playlists/fox.jpg
- var_name: FoxFM
- var_entity: input_boolean.fox
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: /local/images/playlists/blue.jpg
- var_name: Recently Added
- var_entity: input_boolean.recently_added
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: /local/images/playlists/red.jpg
- var_name: High Rotation
- var_entity: input_boolean.high_rotation
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: /local/images/playlists/green.jpg
- var_name: Favourites
- var_entity: input_boolean.favourites
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features/v4/79/16/15/791615c2-e107-2acf-a919-2173baf5f9e3/9772ba3d-3a9b-4671-ae58-c0182d3d807a.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: ALT CTRL
- var_entity: input_boolean.alt_ctrl
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features115/v4/bc/dc/3c/bcdc3c81-74fb-b9a7-1a6e-f5eece3c00f0/U0MtTVMtV1ctQmFyZWZvb3RfQWNvdXN0aWMtQURBTV9JRD0xNDIxNjM4NTQxLnBuZw.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: Barefoot Acoustic
- var_entity: input_boolean.barefoot_acoustic
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features125/v4/9f/84/eb/9f84eb27-41eb-87e2-72fa-4cce2381884d/U0MtTVMtV1ctQkVBVHN0cnVtZW50YWxzLnBuZw.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: BEATstrumentals
- var_entity: input_boolean.beatstrumentals
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features221/v4/f2/50/a8/f250a877-6005-1a42-ac63-6fb372275cbe/5d409ece-7c95-4162-9ab3-a9f797a3f31d.png/1000x1000SC.CAESS02.jpg?l=en-AU
- var_name: Coffee Shop Essentials
- var_entity: input_boolean.coffee_shop_essentials
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features/v4/98/0c/47/980c4733-29e4-1d84-592c-e240d8d5f79c/67c195e9-2ee6-4ba7-81e2-964826b85623.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: HEAPS INDIE
- var_entity: input_boolean.heaps_indie
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features115/v4/e0/60/08/e06008a2-30de-c61a-a495-4438c4ffa2b6/U0MtTVMtV1ctaW5kaWVfK19jaGlsbC1BREFNX0lEPTE0MjE2NDA2ODUucG5n.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: Indie + Chill
- var_entity: input_boolean.indie_chill
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features115/v4/90/48/90/90489014-9b8e-8f85-6c80-49bc69c5673c/U0MtTVMtV1ctSmF6el9DaGlsbC1BREFNX0lEPTExMjQ2NzgwMjMucG5n.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: Jazz Chill
- var_entity: input_boolean.jazz_chill
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features221/v4/a8/79/88/a8798897-8b4a-3bd1-b4ef-a1be8a36175d/d74a81a0-36b2-4b90-bbd8-bd1b0d851f71.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: Lo-fi Sunday
- var_entity: input_boolean.lo_fi_sundays
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features115/v4/70/65/4d/70654d22-afb0-05ab-69bb-d9e7c0176a82/U0MtTVMtV1ctUGlhbm9fQmFyXy1BREFNX0lEPTExMTA1NTQzOTUucG5n.png/1000x1000SC.DN01.jpg?l=en-AU
- var_name: Piano Bar
- var_entity: input_boolean.piano_bar
- - type: custom:button-card
- template: compilations_small
- variables:
- var_image: >-
- https://is1-ssl.mzstatic.com/image/thumb/Features125/v4/d6/be/de/d6bede4b-0cb3-9f66-72e6-a1756d6dddc2/U0MtTVMtV1ctU21vb3RoX0phenpfRXNzZW50aWFscy1BREFNX0lEPTExODg0Nzc4NTEucG5n.png/1000x1000SC.CAESS02.jpg?l=en-AU
- var_name: Smooth Jazz Essentials
- var_entity: input_boolean.smooth_jazz_essentials
- styles:
- card:
- - background-color: transparent
- margin: 0px
- height: 100%
- border-radius: 0px
- padding: 0px 0px 5px 0px
- subhead2:
- card:
- type: custom:button-card
- template: subheading
- variables:
- var_name: News Briefing
- styles:
- card:
- - padding: 10px 15px 5px 15px
- width: 280px
- news:
- card:
- type: custom:button-card
- show_state: false
- show_name: false
- show_icon: false
- styles:
- grid:
- - grid-template-areas: '"row2"'
- align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- card:
- - background-color: transparent
- padding: 0px 0px 5px 15px
- margin: 0px
- width: 302.5px
- border-radius: 0px
- custom_fields:
- row2:
- card:
- type: custom:css-swipe-card
- cardId: swipe_dashboard
- template: slider-horizontal
- auto_height: true
- pagination: false
- navigation: false
- card_gap: 0px
- cards:
- - type: vertical-stack
- cards:
- - type: custom:button-card
- entity: sensor.abc_news_briefing
- show_state: false
- show_name: true
- show_label: false
- show_entity_picture: true
- tap_action:
- action: call-service
- service: script.play_abc_news_briefing
- name: ABC News Briefing
- entity_picture: >-
- https://play-lh.googleusercontent.com/nTsIPBqFOIjY84v-20yt1JZcvUrFQ9OvDW0la-KmWCHRYq4cF4bISDUh8d5Otc-sEjiD=w480-h960-rw
- custom_fields:
- play:
- card:
- type: custom:button-card
- icon: mdi:play-circle
- tap_action:
- action: call-service
- service: script.play_abc_news_briefing
- styles:
- card:
- - grid-area: play
- justify-self: end
- align-self: center
- width: 80px
- background-color: transparent
- margin: 0px -15px 0px 0px
- icon:
- - color: rgba(255,255,255,0.3)
- styles:
- grid:
- - grid-template-areas: '"i n play"'
- - grid-template-columns: 0.3fr 1fr auto
- - grid-template-rows: auto auto
- - justify-content: start
- - align-content: center
- - justify-self: start
- - align-self: center
- card:
- - background-color: transparent
- - height: 43px
- - padding: 0px
- - margin: 0px
- - border-radius: 0px
- width: 265px
- name:
- - justify-self: start
- - align-self: center
- - font-size: 14px
- - font-weight: 600
- - padding: 0px 0 0 0
- entity_picture:
- - border-radius: 5px
- - width: 70%
- - margin-left: '-15px'
- - type: custom:button-card
- show_state: false
- show_name: true
- show_label: false
- show_entity_picture: true
- tap_action:
- action: call-service
- service: script.speak_news_on_homepod
- service_data:
- news_type: Generic
- name: The Age News Briefing
- entity_picture: >-
- https://play-lh.googleusercontent.com/Y1Di4hx8y9VUVd2evirRi4_P4Ey9dZrY3jGRInDLuuIP4xqW6AHchDrCLMM4G8RKX74=w480-h960-rw
- custom_fields:
- play:
- card:
- type: custom:button-card
- icon: mdi:play-circle
- tap_action:
- action: call-service
- service: script.speak_news_on_homepod
- service_data:
- news_type: Generic
- styles:
- card:
- - grid-area: play
- justify-self: end
- align-self: center
- width: 80px
- background-color: transparent
- margin: 0px -15px 0px 0px
- icon:
- - color: rgba(255,255,255,0.3)
- styles:
- grid:
- - grid-template-areas: '"i n play"'
- - grid-template-columns: 0.3fr 1fr auto
- - grid-template-rows: auto auto
- - justify-content: start
- - align-content: center
- - justify-self: start
- - align-self: center
- card:
- - background-color: transparent
- - height: 43px
- - padding: 0px
- - margin: 0px
- - border-radius: 0px
- width: 265px
- name:
- - justify-self: start
- - align-self: center
- - font-size: 14px
- - font-weight: 600
- - padding: 0px 0 0 0
- entity_picture:
- - border-radius: 5px
- - width: 70%
- - margin-left: '-15px'
- songs:
- card:
- type: custom:button-card
- show_state: false
- show_name: false
- show_icon: false
- styles:
- grid:
- - grid-template-areas: '"row2"'
- align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- card:
- - background-color: transparent
- padding: 0px 0px 5px 15px
- margin: 0px
- width: 280px
- border-radius: 0px
- custom_fields:
- row2:
- card:
- type: custom:css-swipe-card
- cardId: swipe_dashboard
- template: slider-horizontal
- auto_height: true
- pagination: false
- navigation: false
- card_gap: 0px
- cards:
- - type: vertical-stack
- cards:
- - type: custom:button-card
- template: horizontal_song_v2
- variables:
- var_entity: sensor.top_track_1
- var_image: null
- var_script: script.play_lastfm_top_track
- var_index: 0
- - type: custom:button-card
- template: horizontal_song_v2
- variables:
- var_entity: sensor.top_track_2
- var_script: script.play_lastfm_top_track
- var_index: 1
- - type: custom:button-card
- template: horizontal_song_v2
- variables:
- var_entity: sensor.top_track_3
- var_script: script.play_lastfm_top_track
- var_index: 2
- - type: vertical-stack
- cards:
- - type: custom:button-card
- template: horizontal_song_v2
- variables:
- var_entity: sensor.top_track_4
- var_script: script.play_lastfm_top_track
- var_index: 3
- - type: custom:button-card
- template: horizontal_song_v2
- variables:
- var_entity: sensor.top_track_5
- var_script: script.play_lastfm_top_track
- var_index: 4
- - type: custom:button-card
- template: horizontal_song_v2
- variables:
- var_entity: sensor.top_track_6
- var_script: script.play_lastfm_top_track
- var_index: 5
- - type: vertical-stack
- cards:
- - type: custom:button-card
- template: horizontal_song_v2
- variables:
- var_entity: sensor.top_track_7
- var_script: script.play_lastfm_top_track
- var_index: 6
- subhead3:
- card:
- type: custom:button-card
- template: subheading
- variables:
- var_name: Top Tracks
- styles:
- card:
- - padding: 15px 15px 10px 15px
- card_mod:
- style: |
- :host {
- display: block;
- position: relative; margin: 0px 6px 0px 0px;
- }
- :host::before {
- content: "";
- position: absolute;
- inset: 0;
- border-radius: 30px;
- -webkit-backdrop-filter: blur(50px);
- z-index: -1;
- padding: .1rem;
- background: linear-gradient(60deg,
- rgba(255,255,255,0.0) 0%,
- rgba(255,255,255,0.2) 49%,
- rgba(255,255,255,0.2) 51%,
- rgba(255,255,255,0.0) 100%);
- -webkit-mask:
- linear-gradient(#fff 0 0) content-box,
- linear-gradient(#fff 0 0);
- -webkit-mask-composite: xor;
- mask-composite: exclude;
- z-index: 0; filter: saturate(140%);
- }
- :host::after {
- content: "";
- background: linear-gradient(180deg, rgba(255,255,255, 0.1) 20%, rgba(255,255,255, 0.0) 100%);
- position: absolute;
- inset: 0;
- border-radius: 30px;
- box-shadow: inset -8px 10px 15px rgba(0, 0, 0, 0.1);
- z-index: -1;
- -webkit-backdrop-filter:blur(30px) saturate(110%) brightness(90%);
- filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.2)); }
Advertisement
Add Comment
Please, Sign In to add comment