window sensor with terminals