That night IFTTT/Hubitat was bugging out for me too.
Yes just create a trigger with a delay to turn it off. You can also go into the virtual device and set it to auto turn off on its own. That's what I do.
Here is the current rule I"m using that will turn the switch on only at night and isn't already already on. It also will keep the light on if there is new motion. The Virtual switch is set to auto turn off 500ms and the global variable is there to track that IFTTT turned it on. Because this is a rule it should be more reliable about turning off your device and virtual switch,