Change/Inverse State - Sonoff SV

Hi - fairly new to HA. I have a couple of sonoff svs triggering a front and rear garage. Because of the way I had to wire the sensors the off and on areopposite for each garage door. This wasn’t a problem when I was using shortcuts in with Siri but now I’m using HA it’s really starting to bug me. Is there an easy way to change the state in HA. They are using Sonff firmware in LAN mode so I figured I can always go back to the drawing board and flash them with Tasmota but for not wanting to get in my garage roof again - hoping someone can assist with a quick line of code?

entity: switch.garage_switch1_garage_frontdoor