An LED-based light includes one or more LEDs, a sensor arranged to detect a brightness level in an area resulting from the combination of light emitted by the LEDs with light from at least one ambient light source other than the LEDs, and operable to output a signal corresponding to the detected brightness level, a controller operable to regulate an amount of power provided to the LEDs in response to the signal, a light transmitting housing for the LEDs, the sensor and the controller and a connector shaped for connection with a light socket disposed at an end of the housing.