Add Shuffle Option to “Music Assistant: Play media” Action in Home Assistant #3832
|
Currently, the "Music Assistant: Play media" action in Home Assistant does not offer an option to enable shuffle playback. This limitation makes it impossible to start music with shuffle enabled through automations. For example, when I arrive home, I want a specific curated playlist to start playing in shuffle mode so I don't hear the same songs in the same order every day. While the action includes an "Enable radio mode" option, that generates a new playlist, which is not what I want. I want to use my own playlist with shuffle enabled. As it stands, I have to manually open Music Assistant and enable shuffle after the automation runs, which defeats the purpose of the automation entirely. Suggested Enhancement: Add a toggle or parameter to the "Music Assistant: Play media" action that allows enabling shuffle mode, similar to how "radio mode" is currently supported. This would greatly enhance the flexibility and usability of Music Assistant within Home Assistant automations. |

You simply need to send the media_player.shuffle_set command, its a dedicated command to enable shuffle on the queue.
Some rough example: