So, I know a lot of folks are resistant to using IFTTT because of the lag, but I've accomplished the same thing using my phone and tracking its connection to my router.
There is a recipe on IFTTT that tracks a specific devices connection status to your home router (onhub specific). When my phone disconnects it sets a home/away variable to 1 and sets my home in away mode. Once My phone connects, which happens once I enter my street, it triggers the variable to 0, which sets my home to home mode. The trigger is pretty instant, and I haven't really noticed a lag at all.
I combine the set up above with an automatic pro for redundancy. When I turn off my car at my house it triggers a variable to set my home to home. When I start my car at home it sets my home to away.
This way I can be home but away from the house walking the dog and my house doesn't go crazy and lock doors or make it difficult to get back inside if it starts raining.