Keep lights on where motion was last detected?

Maybe this new flowcards help as well.
App: Device Capabilities