Motion sensor - Trigger only when lights are off

Hello,
Is there a way to configure the motion sensor so it triggers the motion or no-motion action only when all lights related to it are off? Something like the “Do not disturb my scenes” formula in hue lab. I found that I can suspend the motion sensor from a button on a dimmer switch and that would do the trick. But if I turn on a scene from my phone, the motion sensor will still trigger.
Maybe I am missing something? Is there a way to do that?

Thank you!

Hello, at the moment this is not possible in Hue Essentials. It is on the wish list for future development.