Magnetic switches used in mini air conditioning units