Too many variables here since it's water damage. The AC push button may have been damaged. This will require a hands on inspection.
Here is a link to find a good shop near you.
https://repairpal.com/repair-shops
Alex
RepairPal Certified shops can diagnose and repair your 2017 Jeep Patriot. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.