Motion detection - switch on my Sonos but only wenn quite Mode is disabled

Folks,
Motion detected - turn on Sonos is easy! What I was looking is to add a Quietmode switch into my ha GUI. Result should be that my Sonos only starts on motion detection when the Quietemode is disabled. What would be the best concept in HomeAssistant to do this quitemode switch?

1 Like