def METHOD_NAME(self, **kwargs):
    """Set new target temperature."""
    if self._prop_target_temp:
        val = kwargs.get(ATTR_TEMPERATURE) or 0
        stp = self._prop_target_temp.range_step()
        if stp and stp > 1:
            val = round(val / stp) * stp
        elif self._prev_target_temp is None:
            val = round(val)
        elif val >= self._prev_target_temp:
            val = math.ceil(val)
        else:
            val = int(val)
        ret = self.set_property(self._prop_target_temp, val)
        if ret:
            self._prev_target_temp = val
        return ret
    raise NotImplementedError()