Another would be to add a โwaitโ command between the on and off commands, and remove the 30 second delay. The โWaitโ commands can be found just underneath the Repeat commands.
I set the repeat to every 50 seconds in my example. It will result in:
0 seconds: Turn off Virtual Switch
0 seconds: Turn on the other switch
30 seconds: Turn off the other switch
50 seconds: Turn on the other switch (20 seconds later)
80 seconds: Turn off the other switch (30 seconds later)
Etc.
You may want to move step 2 to be the last action after the repeated actions, otherwise it would be possible to have multiple triggers of this rule while it is in progress. I'm assuming that you don't want two or more instances of this rule turning the relay on and off at the same time.
For the virtual switch you can set it to auto turn off anywhere from .5 to 5 seconds on its device page. I use a few switches to activate things and prefer to have it auto off instead of the rule doing it.