'Set new target temperature.'

def set_temperature(self, **kwargs):

    if (kwargs.get(ATTR_TEMPERATURE) is not None):
        self._target_temperature = kwargs.get(ATTR_TEMPERATURE)
    self.unit.set_temp(self._target_temperature)
