We had a terrible problem with large rats repeatedly getting in two of our cars and ripping wire apart. My son actually caught one on video in his Miatas engine bay. My wifes M235 required pulling the engine...
After installing this sonic/strobe device in both cars the rats have not returned (has been 6 months).
https://www.amazon.com/gp/product/B07LCKBGY8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1