automation structure, motion event