Use HomePod with Music on Mac
You can use HomePod to play music from the Apple Music catalog. 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 checkbox next to HomePod.
Whatever song you were playing in Music on your computer now plays on HomePod, too.
Use AirPlay to control HomePod playback
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 Up Next queue—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 Up Next list: Click the Up Next button to view the list. See Use the Up Next list for more details.
You can control only one device at a time; when you want to control your computer again, just switch back to it.