Change SHM mode after delay on presence arrival?

Hmmm… sounds like what you need is a smart app that can be run by turning on a virtual switch which then checks your doors to make sure they are closed, reporting to you if any are one, and then runs a routine a given number of minutes later…

Something like… Goodnight SmartHome maybe?