Light on furing human presence

Above is one of my automation scenario. Ie, if a car or person or camera hinderance is detected in my driveway by my c520ws camera, it triggers a flood light through a tapo smart plug.
Well, it triggers the smart plug for 15 minutes as programmed. But the issue is that, it switches off the ligjt/plug in 15 minutes, even if human Presence lasts for more than 15 minutes. And switches it on again for another 15 minutes. Is there some way or scenario in which I can keep the smart plug on seemless without that switch off in-between. Ie, it would have been more smarter, if the trigger is kept triggered until the last motion or Presence is there and then wait for preset time before it switches off. (Jist like a pir sensor which keeps the action triggered until human motion is disappeared and then switches off)
