This function handles both ecobee and nest thermostats
        which use a different field for away/home status.

def away(self):
        """
        This function handles both ecobee and nest thermostats
        which use a different field for away/home status.
        """
        nest = self._last_reading.get('users_away', None)
        ecobee = self.profile()
        if nest is not None:
            return nest
        if ecobee is not None:
            if ecobee == "home":
                return False
            return True
        return None