Virtual Switch that follows the state of Physical Switch

You can use Rule Machine to do this, and much more…