Additionally, your door jamb switch might not function correctly ... to control your lights or magnetic switches, which work similarly to jamb switches by using two magnets to close or open ...