@sudarkoff OK, I have done some testing with this and ran into issues…not that I should really complain since you made this for me in literally minutes, but I also think this might be useful for others.
Issue 1 - I selected both myself and my wife under “When these people”. My wife is working from home today and it never triggered. The other settings were weekdays, after 8:15, only when mode is Home (which it currently is). It is set to perform the Hello, Home action “Working from Home”.
I think this issue might be related to both of us being selected. Is it looking for both of us to be there or only one of the people selected (which is what it should be looking for, in my opinion).
Issue 2 - There is only a"Still at home after" option, there is not a time range. For example, If this is an app to convert modes “when people don’t leave”, but it will potentially make changes if someone has left (say me today with my wife at home) and then I return that may conflict. When I return, it should switch to “I’m Back” and unlock our door. But, If I’m part of the SmartApp, will it conflict and try to set to “Working from Home”? Will adding a stop time help with that? Is there a way to prioritize the mode change so that I’m Back takes precedence over Working from Home?
Obviously, these are the complexities I did not think of when I asked for the app. I should have thought it out more clearly. Sorry about that!