Actually, I'm expecting this will do what I need, without any need to change RL.
I created a Virtual Motion Sensor with an automatic timeout of 5 seconds. I added this to the Bathroom Zone Motion configuration and setup a rule like you suggested earlier. This should activate motion temporarily, then the lights turn off after the delay configured in RL.



