I believe you need to include the motion sensor in the means to activate as well.
This was the part I struggled with. I wanted motion to initiate the turning off of the lights, without doing it straight away, and wanted re-activation to cancel that turning off. That is why I went with the zone motion controller.