Set thermostat back to its previous state when I leave work