Diaphragm pressure switch with motor protective relay