The Hinge Light has a built in mechanical switch which when pressed switches off the light, this occurs when the cabinet door is closed. Upon opening the door, the switch will be de-pressed and the light will switch on and remain on until the door is closed again.