I have a rule set up for one of my half baths to turn on the exhaust fan after the light has been on for more than 3 minutes and and then turn off a minute after the light is turned off. This rule is currently enabled/disabled with a virtual switch so if I don't want the fan to run, I just turn off the virtual switch in a dashboard to disable it.
What I would like to do, if possible, is to toggle the virtual switch off or on if I were to flip the lights on, then off, then on within 5 seconds. Any thoughts or ideas?