The doorjamb switch grounds the wire connected to it. So it's a negative trigger switch.