'Set new target position.'

def set_cover_position(self, **kwargs):

    position = kwargs.get(ATTR_POSITION)
    if (position is None):
        return
    if self._invert_position:
        position = (100 - position)
    self._target_pos = position
    self.set_percentage('setposition', position)
    _LOGGER.debug('%s:    Set    target    position    to    %d', self.name, position)
