I’ve updated my app that sets Hello, Home mode to “Home” when a lock is unlocked with one of a specified list of codes. This can be automatic for ANY code used to unlock the door, or for specific codes only. You can specify the User Name for each code so that is reported as well.
I’ve also integrated the Distress Code functionality found elsewhere in this community (as an option).
I did get a bit carried away with dynamic pages, so things open/close based on your inputs so that you only see the enabled options and their extensions. Thanks to Patrick for the help with the array-that-isn’t-an-array, turns out it was less complicated than I originally thought…
Hope some may find this useful - you can find it in the Shared SmartApps within the IDE, or also here on my GitHub account:
As always, comments and feedback are welcome.