core: ESPHome Media Player not updating status after Broadcast is sent to it.

The problem

When a broadcast is sent from Home Assistant to the Music Assistant’s version of an ESPHome Media Player, the status of that media player will remain as “Playing”, and will never go back to “Idle”. Further more, the same broadcast will continue to play over and over every few seconds. Sending the same broadcast to the ESPHome version of the Media Player works perfectly fine.

To reproduce this issue:

  1. Add an ESPHome Media Player (arduino version) to Home Assistant.
  2. Share the ESPHome Media Player with Music Assistant by using the “Home Assistant Media Player” provider plug-in inside Music Assistant.
  3. This should result in Home Assistant finding the Music Assistant Version of the ESPHome Media Player and making it available for broadcasts etc.
  4. Send a broadcast to the Music Assistant version of the ESPHome Media Player using a Home Assistant script or automation.

Why would you want to do this? Its simple, I’m playing music from Music Assistant on the ESPHome Media Player, I want that music to be interrupted with a broadcast, and then I want Music Assistant to pick up the music again where it stopped. This all works, except that the ESPHome Media Player is never released after the broadcast, so Music Assistant stays in “Pause”, and then the same broadcast plays over and over until a manual Media_Stop is sent to the Media Player.

What version of Home Assistant Core has the issue?

core-2025.2.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ESPHome

Link to integration documentation on our website

https://www.home-assistant.io/integrations/music_assistant

Diagnostics information

No response

Example YAML snippet

action: tts.google_translate_say
data:
  message: " testing testing"
  entity_id: media_player.bar_voice_assistant_speaker_ma
  cache: false

Anything in the logs that might be useful for us?


Additional information

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 19 (8 by maintainers)

Most upvoted comments

The above commentary again suggests this is not a MA problem. I am inclined to close this?

i would think its a core issue. didnt start till i installed the core update.

Given that there are two other reports about TTS problem with ESPHome which don’t involve MA then this would seem to not be a MA problem?

Did you make a typo when saying “Music Assistant Speaker Integration” and did you mean “ESPHome Speaker Integration” ? Are you using the new media player component in ESPHome or the old one? What sort of device is it ?

I’m referring to the attached image, the Music Assistant Integration, not the Music Assistant Server. I’m using an ESPHome Media Player, as in :

media_player: platform: i2s_audio name: “Bar Voice Assistant Speaker” id: bar_voice_assistant_speaker i2s_audio_id: i2s_speaker dac_type: external i2s_dout_pin: GPIO8 mode: mono

Image

Image

Image

Image