Create Turn on temporarily with motion, lock out for a while after motion

This is not working in the SmartThings IDE but I don't know why.  No time to troubleshoot at the moment . . . .