'Stop the cover.'

def stop_cover(self, **kwargs):

    self._is_closing = False
    self._is_opening = False
    if (self._position is None):
        return
    if (self._unsub_listener_cover is not None):
        self._unsub_listener_cover()
        self._unsub_listener_cover = None
        self._set_position = None
