Abstract: A light with an occupancy sensor has a light fixture with a lamp and a power supply. The light fixture has a plurality of sidewalls defining a light fixture housing. An internal photo main sensor is mounted on a first sidewall of the light fixture. The internal main photo sensor is connected to a light controller and configured to send light sensor data to the light controller. An external bypass photo sensor is optionally mounted on a second sidewall of the light fixture. The external bypass photo sensor is configured to connect to the light controller and bypass the internal main photo sensor when the external bypass photo sensor is installed. The light controller is electrically connected to the external bypass photo sensor at least three contacts of the light sensor namely a first contact, a second contact and a third contact.