You can apply permissions for your AirPlay on your HomePod using the Home app. Follow these steps:
STEP 1: From your iPhone or iPad Home screen, launch the Home app.
STEP 2: Tap on the Add Home button, which looks like a location arrow, at the upper-right corner.
STEP 3: In the Speakers section, tap on Allow Speaker Access.
STEP 4: Under Allow Speaker Access, choose your preferred option:
- Everyone – allows unfettered access
- Anyone on the Same Network – allow anyone who is on your local Wi-Fi network
- Only People Sharing This Home – allow only those with whom you’ve shared your Home in HomeKit.
STEP 5: Next, tap the switch next to Required Password if you want to have additional security.
STEP 6: Tap the Password to set your own password, then tap Done to save your settings.