Harmony can control ST devices. So after the Connect app created the virtual switches in ST, I authorized Harmony to control them, then added each activity switch to it's activity in Harmony. Then when the activity is started with the remote it turns it's own switch on in ST. Same with when the activity ends, it turns it's own switch back off.