Okay… I’ve updated my Schlage Touchscreen Lock device type code to pass through the source of a lock/unlock event. This is in preparation for doing the requested smartApp… I needed the device type to pass to the smartApps the method used for locking the door. Tomorrow I’ll whip out some code for toggling a switch when a door is LOCKED (with a filter on how it was locked.)
You should be able to use that with a virtual switch to change modes or HH events.
If you aren’t already using it, here’s the device type code: