When I was house hunting I saw a closet w/ a light in it that came on when u open the door. The switch for the light was a push in switch on the door frame similiar to the switch on a car door. I didnt buy that house, but i liked the idea and would like to do that w/ the hall closet in my house. So, my question is: was that a nec approved switch, or something someone rigged up? It didnt look rigged, but i'm not sure...
