Yes, Decora Smart Wi-Fi has several ways to control lights when you leave or come home. In the app you can create an Activity that turns lights or on. Simply run an activity from the app when you leave or come home. Activities are covered in the article What is an Activity? If you are looking for a simple button to press as you walk out the door or come home look no further than the DW4BC: Wi-Fi 4 Button Controller or the D2SCS Decora Smart® Wi-Fi Scene Controller Switch. What if you want the lights to be completely automatic? That is where the IFTTT services comes in. You can learn mores from the Video - IFTTT Integration with the My Leviton app and Decora Smart® Wi-Fi Devices. Specifically, the location features can turn lights on or off as you come and go.
Start with new routine: