Schlage Electronics SCE7766 Magnetic Door Position Switch, Surface Mount, Single Pole Double Throw
Door position switches are used to detect the open or closed status of an opening and then send this status to a control panel. They come in a variety of shapes and sizes and are designed for monitoring door positions, roof hatches, gates etc.