The only solution I know is to cover up the cat magnet.
I once spent a few years running a large outdoor experimental apparatus that featured air bubbles and puncturable tubing, both fascinating to the local feral cat population...it had to be in sunlight, so I ended up building wire-mesh frames to cover the whole thing, and even then the little fiends would sometimes manage to get a paw through...