Sonos - get current playing source

Hello,

Is there anyway to get the current playing source for a Sonos device? Perhaps from the logbook/history…

I have an automation that, when activated, will change the playing source to a random playlist from an array unless the playlist is already playing.

I have everything all worked out except for how to get the current source playlist for a Sonos device. The current source doesn’t appear in the states.

Does anyone have any suggestions?

Hi, did you ever get a solution for this? I have the exact same problem now.