Keep lights on where motion was last detected?

Please Share this flow?