kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.47k stars 206 forks source link

Buttons Dissapear Due to Entity Name #748

Open tortho opened 1 year ago

tortho commented 1 year ago

With the below codes there is no buttons visible. If I replace the entity line with media_player.sonos_bad (which is same as the helper text) the buttons appear. Small bug possibly?

entity: media_player.{{states('input_select.sonos_music_master_speaker') }}
type: custom:mini-media-player
hide:
  icon: true
  info: true
  power: true
  shuffle: true
  volume: true
  volume_level: true
  controls: true
  name: true
  source: false
icon: mdi:spotify
shortcuts:
  columns: 5
  column_height: 90
  buttons:
    - name: Alltid Nyheter
      type: source
      id: NRK Alltid Nyheter
    - name: NRJ Norge
      type: script
      id: script.media_play_nrj_norge
    - name: TH Likes
      type: script
      id: script.media_play_th_likes
    - name: TH Likes 2
      type: service
      id: spotify:user:xxxxxxx:playlist:xxxxxxxxxxxx
volume_stateless: false
info: scroll
source: full
group: false
Jaykurb commented 8 months ago

Are you able to use the buttons? I have this same issue but can't seem to get around it.