(self)
Run remove tasks.
Run remove tasks.
Run remove tasks .
def remove(self):
        """Run remove tasks."""
        # Attach logger
        if self.logger is None:
            self.logger = Logger(
                f"hacs.repository.{self.information.category}.{self.information.full_name}"
            )
        self.logger.info("Starting removal")

        if self.information.uid in self.common.installed:
            self.common.installed.remove(self.information.uid)
        for repository in self.repositories:
            if repository.information.uid == self.information.uid:
                self.repositories.remove(repository)
def remove ( self ) : # Attach logger if self . logger is None : self . logger = Logger ( f"hacs.repository.{self.information.category}.{self.information.full_name}" ) self . logger . info ( "Starting removal" ) if self . information . uid in self . common . installed : self . common . installed . remove ( self . information . uid ) for repository in self . repositories : if repository . information . uid == self . information . uid : self . repositories . remove ( repository )