If you’re using the new STHM app it should have delays built into it.
However if that isn’t working for you, here are two other options:
Use Intruder Alerts with Actions and trigger it using the STHM modes using your virtual switches (or a ZigBee keypad) or any other way, this app has support for entry and exit delays. It can work even without STHM as a stand alone solution. [RELEASE] Security System: Intruder Alert with Actions
If you’re using locks to integrate with STHM then there’s another option available but since you’re using ActionTiles Intruder Alerts would be a nice integration to arm/disarm using your virtual switches.