Can each action have its own condition?

  1. Do an IF-THEN For Time of Day Capability between two times

  2. In the settings for your virtual switch, Enable auto off (highlighted). There are a few options for how long before it turns off.