How to turn sonos off when setting house mode to away or vacation?

I’ve added the Sonos plugin to my Vera Edge and I can control each device fine. Though, my main reason to add the Sonos to my Vera is to be able to start and stop playing based on some actions. Mainly I want any Sonos playing to stop playing if I set the house mode to away or vacation. Though, I have not found a way to trigger this on change of house mode.

Am I missing something here? Do I need to code something for this or can this be done with some simple actions?

Create a scene that triggers on away or vacation. Select Sonos as device and action Stop.

Installing the House Modes plugin will make doing that a piece of cake as it can be used as a trigger.

You could use this piece of luup in combination with the House Modes trigger:

http://:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:MediaNavigation1&action=Stop&DeviceNum=

Replace vera ip and device id accordingly.