摘要 |
An electrical wiring device includes a manually adjustable switch, a light emitting diode (LED), a light level sensor, and a microcontroller. The wiring device also optionally includes an occupancy sensor. Light level is sensed through a light pipe and light is emitted by the LED through the same light pipe. When the manually adjustable switch is positioned to energize a load, the LED is deactivated and ambient light level is sensed by light sensors through the light pipe. The ambient light level is compared to a minimum ambient light level to determine if the load will be energized. Alternatively, the LED is deactivated and the ambient light level is sensed through the light pipe when the switch is positioned to de-energize the load. This ambient light level is stored and compared to the minimum ambient light level at a time when the switch is later positioned to energize the load. |