Apologies if this has been answered before:
I Physical Switches for which I would like to use Virtual Switches. I would like help with code to allow Virtual Switch to remain in same state as the physical switch. For example, if a switch is turned on physically, it would be ideal to see the Virtual switch change state.
If someone has a working code, it would be a great help.