Hello Community,
I created a new Horizontal-Stack with a few Button-card in it.
Web:
IOS App:
cards:
- type: 'custom:button-card'
size: 50%
entity_picture: /local/plex.svg
color_type: card
color: '#282a2d'
show_name: true
name: Plex
show_entity_picture: true
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.samsung_tv_remote
source: Plex
styles:
card:
- height: 70px
- width: 75px
name:
- font-family: Impact
- letter-spacing: 0.1em
- color: white
- font-size: 13px
- type: 'custom:button-card'
size: 50%
entity_picture: /local/netflix.svg
color_type: card
color: black
show_entity_picture: true
show_name: true
name: Netflix
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.samsung_tv_remote
source: Netflix
styles:
card:
- height: 70px
- width: 75px
name:
- font-family: Impact
- letter-spacing: 0.1em
- font-size: 13px
- type: 'custom:button-card'
size: 50%
entity_picture: /local/spotify.svg
color_type: card
color: '#1DB954'
show_name: true
name: Spotify
show_entity_picture: true
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.samsung_tv_remote
source: Spotify – Zenék és podcastok
styles:
card:
- height: 70px
- width: 75px
name:
- font-family: Impact
- letter-spacing: 0.03em
- color: white
- font-size: 13px
- type: 'custom:button-card'
size: 65%
entity_picture: /local/youtube.svg
color_type: card
color: null
show_name: true
name: YouTube
show_entity_picture: true
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.samsung_tv_remote
source: YouTube
styles:
card:
- height: 70px
- width: 75px
name:
- font-family: Impact
- color: '#282828'
- font-size: 13px
- type: 'custom:button-card'
size: 45%
entity_picture: /local/sat-dot-1.svg
color_type: card
color: '#8F8F8F'
show_name: true
name: TV
show_entity_picture: true
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.samsung_tv_remote
source: TV
styles:
card:
- height: 70px
- width: 75px
name:
- font-family: Impact
- letter-spacing: 0.1em
- font-size: 13px
- color: white
- type: 'custom:button-card'
size: 45%
entity_picture: /local/playstation.svg
color_type: card
color: '#003791'
show_name: true
name: Playstation
show_entity_picture: true
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.samsung_tv_remote
source: HDMI
styles:
card:
- height: 70px
- width: 75px
name:
- font-family: Impact
- font-size: 13px
- color: white
What would be the easiest method to solve this issue?
Thank you very much,