How its work?
Built_in smart sensor transmit the IR beam, when the door is closed reflect beam and stop the LED light. Sensor sense IR-beam and turn-off the light.