How to create button toggle with Mirror virtual Driver-Mc

you can create a virtual switch that receives the switch on/off command of the button.

Then you have to do two routines one to turn on the group when the switch is turned On and another to turn it Off.

You can create a mirror switch with Aplicaciones Virtuales Mc driver
or others with community drivers