They sell something called Riddex. You plug it in to an outlet and it’s supposed to keep bugs away. I bought one because I had a similar issue and it worked for me a few years ago. They’re like 15 on Amazon. FWIW!
There is a product called RidX and that’s a chemical, that’s something else!
Here’s a link:
Riddex Plus Pest Repeller for Rodents and Insects, Plug-In Indoor Repellent https://www.amazon.com/dp/B001BZNAOQ/ref=cm_sw_r_cp_api_i_JZ23EbM5M7D1A
Riddex
Use this plug in
Found it 9 years ago. ants now completely gone
Also spiders mice rats and cockroaches hate it.
Does not affect my cat. Don't forget to reset it every so often