handle multiple motion sensors and lights