Door-jamb switch wiring

Thanks Gryzynx. Does that mean I need a single wire switch for the right, or can the second connector remain open (not have a wire on it)?

I plugged them in, yet the light remains lit even when both plungers are suppressed.