kalkih / mini-media-player

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

Tap_action not overriding default "more-info" action #683

Open lthorpe18 opened 2 years ago

lthorpe18 commented 2 years ago

I'm trying to display only album art, progress & song info in the media player, with a tap action to toggle a boolean I have set up.

The card looks great, however the tap_action doesn't override the default "more-action" functionality as it stands. Yaml below:

image

I'm unsure where I'm going wrong, or potentially I misunderstand the "Action objects" table in the Readme. I'd appreciate any help from anyone. Hopefully it's just an error I'm making with the syntax!

cataseven commented 1 year ago

I have no problem with below.

tap_action:
  action: call-service
  service: media_player.select_source
  service_data:
    entity_id: media_player.spotify_home
    source: Denon AVR-X2700H