Return lights to a previously set dimming level ?

I have some driveway lamp posts that are on a schedule so they come on to a 30% level for a few hours each evening.
When my driveway motion detector is tripped, AND it is night time, I have the lights come on to 100%.

What I want to do is, after a few minutes(10?), have the lights return to whatever state they were in before the motion… 30%, off, or 100% (if, say, they had been turned on manually).

How do I retrieve the current level (LoadLevelStatus?) and use it to return to that level after timeout?

TIA

You would use something like:
http://forum.micasaverde.com/index.php/topic,15394.msg116981.html#msg116981

Except you want the LoadLevelTarget at the time of motion.

SavedTarget Motion ? Target : SavedTarget