Your neighborhood HVAC support company can set up float switches. Test to be sure that the air conditioner condensate line is just not plugged. You can do this by pouring drinking water in to the air conditioner condensation pan. If it drains rapid then the road should be all right. https://cutt.ly/ceTfXLex