Turn on the AC in the evening, but only if the door is closed?

Which version of the SmartThings app are you using? They do have somewhat different rules engines. (The FAQ title is a clickable link.)