This is actually pretty easy without any of the above posts about custom device handlers. If you are ok creating a virtual switch that is. Here’s what I did.
- Create a virtual switch called “ecobee home” (names not important).
- Setup IFTTT to trigger away mode when my virtual switch is turned off.
- Setup IFTTT to resume the current program when my virtual device is turned on.
- Trigger the switch to be turned on and off when you’re away and home.
Works like a charm and no custom device handlers that you need to manage.