Cast music to home assistant to replace volumio

Hello,

In case I connect my Raspberry jack to amp.
Can I install some integration/add on which would make HA a castable device so I can select it on the phone in spotify.
I’m using a Pi with volumio to do this now but might as wel give this task to HA I figured but can’t directly find how…

Thx for advice !

I’m pretty sure the Spotify integration does exactly that.