You have a few options:
1) This does most of the heavy lifting for you if you set it up. You can assign virtual switches to run scenarios, and a scenario can control any number of switches, routines, SHM and pretty much anything on ST.
2) Create a virtual switch, and then use CoRE to create a piston that does once again anything that you can possibly think of in SmartThings
3) Create a virtual switch, then use the Smart Lighting app to trigger scenarios/lighting based on the switch state.