To enable the detections when not working we have to think the other way around by disabling the motion engine when working:

disable working hours