Your neighborhood HVAC provider organization can put in float switches. Check to ensure that the air conditioner condensate line isn't plugged. You can do this by pouring h2o in the air conditioner condensation pan. If it drains quickly then the line ought to be all right. The C&D Ohmic Ring™ https://bit.ly/3zgoYWa