door contact
A door contact monitors the state of a door, whether it is open or closed. It can also be used to detect an improper state, such as door open too long.