how to wire motion sensor/ occupancy sensors