I have a wifi power strip connected to alexa/google home. I haven't really used virtual switches in the past, and didn't see it mentioned in the documentation here. So I'm a bit behind on using them.
I am looking to allow my Iris (IL07_1) to activate the wifi power strip on motion, but turn it off after 3 hours of no motion. Not trying to use full Alexa Routines (unless it's the best thing to do in this scenario), is a better case to setup a virtual device in Hubitat to turn on this power strip when there is motion, and turn off when there is no motion for 3 hours? Also, would this also be best done with (2) simple automation rules, one for virtual switch on and one for virtual switch off?