Volume sonos notification

Does anybody know the bit of code I can add to a custom smartapp to set the volume when Sonos announces a notification?

If you go look at the Code Templates in the IDE, there is one for Speaker Notify with Sound.

Go down to line 97 and that section is all about the audio control - volume change, resume track on complete, etc

You’ll be able to copy and modify what fits your needs there.

Awesome! Found it, thanks!