No worries - I was a 2 day-old Hubitat user not so long ago. Anyway, the image below should help you.
Here's what I did:
-
I created a virtual switch called "Test Virtual Switch". The rule below uses this virtual switch to control the first relay (on1, off1) in an Enerwave dual-relay called "Shredder and Fan".
-
The rule had two conditions: "Test Virtual Switch on" and "Test Virtual Switch off" that were created before creating any of the actions.
-
Using conditionals, the rule does the following:
IF Test Virtual Switch turns on
THEN run custom action "on1" on Shredder and Fan
ELSE IF Test Virtual Switch turns off
THEN run custom action "off1" on Shredder and Fan
END-IF
Here's what the finished rule looks like: