(self, ignore_issues=False)
Update.
Update.
Update .
async def update_repository(self, ignore_issues=False):
        """Update."""
        await self.common_update(ignore_issues)

        if self.data.content_in_root:
            self.content.path.remote = ""

        if self.content.path.remote == "custom_components":
            name = get_first_directory_in_directory(self.tree, "custom_components")
            self.content.path.remote = f"custom_components/{name}"

        try:
            await get_integration_manifest(self)
        except HacsException as exception:
            self.logger.error(exception)

        # Set local path
        self.content.path.local = self.localpath
async def update_repository ( self , ignore_issues = False ) : await self . common_update ( ignore_issues ) if self . data . content_in_root : self . content . path . remote = "" if self . content . path . remote == "custom_components" : name = get_first_directory_in_directory ( self . tree , "custom_components" ) self . content . path . remote = f"custom_components/{name}" try : await get_integration_manifest ( self ) except HacsException as exception : self . logger . error ( exception ) # Set local path self . content . path . local = self . localpath