Description
The problem
On HA 2025.4.x, playing a TTS announcement via tts.cloud_say on a speaker running ESPHome (Raspiaudio Muse Luxe and HA Voice PE) causes the media_player entity to remain stuck in status "playing" instead of going back to "idle" after audio playback is over. It worked well until HA 2025.3.4.
Unless stopped manually, the same TTS announcement is played again on the speaker every 2 minutes, in a loop. In other words, the media_player stays in "playing" status forever and plays the same announcement repeatedly every 2 minutes, with silence in between and an audio glitch after each repetition (glitch that also wasn't there until HA 2025.3.4).
What version of Home Assistant Core has the issue?
2025.4.0b12
What was the last working version of Home Assistant Core?
2025.3.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Media Player
Link to integration documentation on our website
https://www.home-assistant.io/integrations/media_player/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response