'Set new target temperature for 2 hours.'

def set_temperature(self, **kwargs):

    temperature = kwargs.get(ATTR_TEMPERATURE)
    if (temperature is None):
        return
    mode = 'manual'
    self._data.thermostatdata.setthermpoint(mode, temperature, DEFAULT_TIME_OFFSET)
    self._target_temperature = temperature
    self._away = False
