Had a similar thing with a commercial sprinkler system last month. The control box bracket got bent when a riding mower clipped it. Took the whole unit off, laid it on the shop floor, and just tapped it straight with a hammer against a block of wood. It’s surprising how often the fix is just bending metal back to where it was supposed to be. Alignment is everything with sensors or sprinkler heads.
Seriously, how bent are we talking? Sometimes those mounts get a little tweaked but the sensors still work fine (I've seen doors close slower but still safe). Unless it's causing a full stop, maybe just check the alignment first? A lot of times a minor bend doesn't actually stop the function, you know? It feels like we jump to fixing every little thing right away.
Got a small pry bar in your kit? Ease it back straight, then check the door close force with your gauge. If it's too bent to save, just swap the mount.