Two switches control one item

Your best bet is to use an Proxy Item to represent the state of the switch in openHAB based on the states of the Physical and virtual control switches.

Also, see bob_dickenson’s original posting for how he applies this approach.

The Proxy Item lets you avoid feedback loops and the problem you are having.