Achieving repeatability in a pressure switch