I am thinking a PLEG action that turns it back on. My front porch light is set to turn on when the front door is opened, and turn off when closed - unless I have my exterior lights on, then the light is left on when the door is closed.
It can be further refined to allow the switch to manually turn off under defined circumstances.
Vera 3, UI7 1.7.919, CT101 t-stat, Everspring motion detector, GE/Jasco switch, Leviton outlet, AeonLabs door sensor, Insteon garage control, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual & Multi Switch, Weather, Sys. Mon.