CoRE - Get peer assistance here with setting up Pistons

Running into a wall here: Help with smartthings motion sensor trigger - #3 by Ac7ss

I cannot seem to be able to get a duration qualifier on a second level logic?

…[quote=“Ac7ss, post:3, topic:56600”]

If KitchenLight is off { 
If MotionSensor is active { 
with KitchenLight {   
turn on  
}  
If MotionSensor is inactive for 2 minutes{   
with KitchenLight {
turn off
}  
} 
}
}

[/quote]