I have the update, this is much better. Thanks again.
It is! It’ll show up automatically shortly or you can force it by going to HACS and choosing “update information”
v20.0.0 works fine, especially since I have updated AMP (Alexa Media Player) to 5.7.3 ![]()
Would this be possible to have a property to specify a url to an artwork when none is received from a script? (instead of having a blank area in the player)
Thanks !
Example:
actions:
- name: Patate Douce
icon: mdi:radio
service: script.media_play_patate_douce_radiobrowser_yamp
script_variable: true
artwork: https://cdn.prod.website-files.com/5e57c92306e4fe1dcb7344ef/5f88146fa06b496fccb99f02_LaPatateDouceLogo.png
I might have an alternative solution for you. Can you send me your alexa entity state attributes when this station is playing from dev tools?
I’m wondering if you could use card-mod or config-template-card to hijack the artwork with a helper sensor that’s populated from your script?
ps i’ve seen someone use config template card to make a visual toggle on their action row that shows when a device was on or off. super cool
Inspecting media_player.office on https://homeassistant.local:8123/developer-tools/state
(asking my Office Echo Dot 4) “Alexa, play radio paradise on TuneIn”
State becomes playing with attributes:
source_list: Local Speaker, MP21XDMT, Pixel 4a (5G), Pixel 4a (5G), Pixel 7a, Nokia 7 plus Jerome, Pixel 8a
volume_level: 0.1
is_volume_muted: false
media_content_type: music
media_duration: 0
media_position: 1
media_position_updated_at: 2025-07-06T17:01:52.981353+00:00
media_title: Glass Beams - Mahal
media_artist: Radio Paradise
source: Local Speaker
repeat: off
entity_picture_local: /api/media_player_proxy/media_player.office?token=7a978283c6f2c6eb148d122d81912ec63ef364dae513f67f75be152108e6b293&cache=5f33fdfdbb0689f9
available: true
last_called: true
last_called_timestamp: 1751821391353
last_called_summary: unmute
connected_bluetooth: null
bluetooth_list: MP21XDMT, Pixel 4a (5G), Pixel 4a (5G), Pixel 7a, Nokia 7 plus Jerome, Pixel 8a
history_records:
previous_volume: null
entity_picture: https://cdn-profiles.tunein.com/s13606/images/logog.png?t=638137934600000000
friendly_name: Office
supported_features: 23437
media_album_name: Dj-mixed modern & classic rock, electronic, world music, and more. An eclectic musical adventure.
We see there’s an entity_picture that represents the logo of the station. Interesting!
(asking my Office Echo Dot 4) “Alexa, joue la Patate Douce” => it actually triggers a routine on Alexa which launches the actual command “Alexa, tell radio browser number 20” (based on the Radio Browser skill)
In this case, State becomes paused and the attributes do NOT change because Home Assistant is NOT aware of what’s actually going on ![]()
The same behavior happens if I launch the Patate Douce radio from YAMP with my
service: script.media_play_patate_douce_radiobrowser_yamp
metioned earlier in this thread.
The fact that I go through Radio Browser instead of a direct call to TuneIn seems to lose HA with the state/attributes of the media_player (including no updated entity_picture) ![]()
So it doesn’t seem to be an option to retrieve the artwork in this specific case of mine.
so here’s my proposal (which is kinda janky but there’s not much to go off of). In your script call from YAMP, include a boolean helper that says when the station is on. then use card-mod to update the background of the card to your radio station image url while the boolean is true. just might work, sort of…
something like
card_mod:
style: |
{% if is_state('input_boolean.patate', 'on') %}
.card-lower-content.collapsed.transitioning {
background-image: url('https://cdn.prod.website-files.com/5e57c92306e4fe1dcb7344ef/5f88146fa06b496fccb99f02_LaPatateDouceLogo.png') !important;
background-size: contain !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-color: black !important;
}
{% endif %}
It almost worked although I have to find a way to set the boolean helper back to off once I select a different radio from La Patate Douce otherwise I end up with its logo overlapping the next radio’s logo ![]()
Unless I create a script for every station to be able to reset the helper which is doable but a bit convulated…
What if you add a wait for trigger in your script for when yamp_entiy starts playing (because it doesn’t report playing right?) then when it starts playing (meaning a station that does report artwork) then turn off helper
or even state attribute on the image being populated
(sorry, I haven’t investigated on my artwork reset and your suggestion above)
I have updated to v21.0.1 but I must have missed something with the new Search feature ![]()
When you say “For us Music Assistant lovers” and “for compatible players”, can you elaborate those 2 points please?
Because I get this error:
Sure!
This feature is specific to players created by the Music Assistant add on. When you get your players and music services set up in Music Assistant, the add on creates a duplicate player entity that has Music Assistant specific features, like Search.
You would then replace the entity in YAMP with the Music Assistant version of it (it will likely be something like media_player.salon_2.
Now when you initiate a search on that entity it will return search results from Music Assistant that you can play directly from the card.
Hope that helps!
ps. you’ll need both the add-on and the integration installed. The integration is the one that will be creating the music assistant entities for you
Thank you, it’s working!
I had 2 instances of my Google Nest Mini and I had added the wrong one.
I picked up the other one that was actually the one set up in Music Assistant and boom, the Search came up with results in YAMP ![]()
Too bad this doesn’t work with Echo speakers but that’s a well-known Amazon limitation within HA.
wonderful! glad you got it working
The card is fascinating.
However, I have a problem understanding how to use it and would appreciate your help.
I have two Russound systems, each with 8 outputs, acting as playback devices in different zones.
So, 16 playback options (Z1–Z16).
I also have a NAD BluOS receiver with 4 sources (Q1–Q4).
I would now like to set up a card for each zone.
The zone should be fixed, but the sources should be selectable.
Is this possible to implement?
can you tell me a little more about your setup? How many media player entities are in home assistant? Can you change the zone or source using the source option?
Hi I’m trying to get the idle image to work at the moment and cannot get it work.
Is my config wrong?
type: custom:yet-another-media-player
entities:
- media_player.living_room_display_2
- media_player.living_room_speaker_2
- media_player.office_speaker
- media_player.bedroom_speaker_2
- media_player.kitchen_speaker_2
- media_player.all_speakers_2
volume_mode: slider
match_theme: true
collapse_on_idle: false
always_collapsed: false
alternate_progress_bar: false
hold_to_pin: true
show_chip_row: auto
idle_image: \local\SpotifyImages\pick-your-poison.jpg
Currently it only accepts an image sensor.
So in your case, you would add that path to an image template sensor helper and then use that template sensor in your config instead


