Use HomePod with Music on Mac
You can use HomePod to play music from the Apple Music catalogue. After you set up your HomePod, it plays audio directly from Apple Music or audio sent from an iPhone, iPad, iPod or Apple TV. See the HomePod User Guide.
Play music on your HomePod
In the Music app on your Mac, do any of the following to play music:
Click the AirPlay button at the top of the Music window, then select the tick box next to HomePod.
Whatever song you were playing in Music on your computer now plays on HomePod too.
Use AirPlay to control HomePod
If your HomePod is streaming music directly from Apple Music, you can control its playback — change the volume, shuffle or repeat songs, or add or remove songs from the Playing Next list — in the Music window.
Play some music on your HomePod.
In the Music app on your Mac, click the AirPlay button at the top of the Music window, then choose a HomePod listed under “Switch to”.
Do any of the following:
Change the volume: Use the volume slider at the top of the Music window. The maximum volume is limited by the HomePod volume setting.
Shuffle or repeat songs: Click the Shuffle button to turn shuffle on or off or click the Repeat button to repeat the songs.
View the Playing Next list: Click the Playing Next button in the top-right corner of the Music window to view the list. See Use the Playing Next list.
You can control only one device at a time; when you want to control your computer again, just switch back to it.