cover.py
def _travel_stop(self):
        """Stop TravelCalculator and update ha-state."""
        self._tc.stop()
        if not (self._cover_features & SUPPORT_SET_POSITION) and self._template is None:
            self._tc.set_position(50)
        _LOGGER.debug("%s stopped at position %s", self.name, self.current_cover_position)
        self._update_scheduled_ha_state_callback(0)
Stop TravelCalculator and update ha-state.
Stop TravelCalculator and update ha-state.
Stop TravelCalculator and update ha - state .
def _travel_stop(self):
        self._tc.stop()
        if not (self._cover_features & SUPPORT_SET_POSITION) and self._template is None:
            self._tc.set_position(50)
        _LOGGER.debug("%s stopped at position %s", self.name, self.current_cover_position)
        self._update_scheduled_ha_state_callback(0)
def _travel_stop ( self ) : self . _tc . stop ( ) if not ( self . _cover_features & SUPPORT_SET_POSITION ) and self . _template is None : self . _tc . set_position ( 50 ) _LOGGER . debug ( "%s stopped at position %s" , self . name , self . current_cover_position ) self . _update_scheduled_ha_state_callback ( 0 )
Stop TravelCalculator and update ha-state.
Stop TravelCalculator and update ha - state .
"""Stop TravelCalculator and update ha-state."""
self