door contact

door contact, door switch

An electric contacting device for opening and closing a circuit, which is attached to a doorframe and operated by opening or closing the door.