People have found the Virtual Switch with automation may cause the looping (switch on and off continuously), and suggested to switch the device driver from Virtual Switch to Simulated Switch in SmartThings IDE to resolve the issue. Not 100% sure if this was something you were looking for, but would be a good idea to take a look and switch them to Simulated switches.
1 Like