'Set new target temperature.'

def set_fan_mode(self, fan):

    set_req = self.gateway.const.SetReq
    self.gateway.set_child_value(self.node_id, self.child_id, set_req.V_HVAC_SPEED, fan)
    if self.gateway.optimistic:
        self._values[set_req.V_HVAC_SPEED] = fan
        self.schedule_update_ha_state()
