Room Lighting triggers

I have a game room with LED lighting around the parameter that have z-wave switches to control them. Also in the room is a motion detector on my DSC system that vera is connected to.

I set up a triggered scene to turn on the lights only at night when motion is triggered and turn them off after a few minuets of the last motion. How do I ignore that scene when the switches have been turned on directly so that the lights will not go off after a motion trigger?

Maybe this helps: http://forum.micasaverde.com/index.php/topic,11751.msg94916.html#msg94916