RBoy
(www.rboyapps.com - Making SmartThings Easy!)
7
If you’re using the Classic app you can setup a Routine to do it.
If you’re using the new app and Scene’s, then you can use the Scene to change the hub Mode and then use a SmartApp like this (if you have access to RBoy Apps) which can run actions when mode changes are detected (it was originally designed to be a Routine’s backup app because Routines very often failed to complete their job) but it can act like a “Routine” for the new ST app: