diff --git a/custom_components/hacs/update.py b/custom_components/hacs/update.py index 10a87a24dba..9d0727859c6 100644 --- a/custom_components/hacs/update.py +++ b/custom_components/hacs/update.py @@ -122,6 +122,8 @@ async def async_install(self, version: str | None, backup: bool, **kwargs: Any) f"Downloading {self.repository.data.full_name} with version {version or self.repository.data.last_version or self.repository.data.last_commit} failed with ({exception})" ) from exception finally: + self.repository.data.selected_tag = None + self.repository.force_branch = False self._update_in_progress(progress=False) async def async_release_notes(self) -> str | None: