100V Surface Mount Wired NC/NO Door/Window Magnetic Detector Switch/Reed Sensor

There are two types of reed switches: "normally open" reed switches and "normally closed" reed switches. A normally closed reed switch is closed when not near a magnet; when a magnet approaches it, the normally closed switch will open.

eBay