1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-25 17:56:30 +01:00

Fix update entity not sticking with skipped version (#70779)

This commit is contained in:
Franck Nijhof
2022-04-26 16:50:32 +02:00
committed by GitHub
parent 89e3a48751
commit f84c33203b
+5 -2
View File
@@ -375,8 +375,11 @@ class UpdateEntity(RestoreEntity):
# Clear skipped version in case it matches the current installed
# version or the latest version diverged.
if (
self.__skipped_version == self.installed_version
or self.__skipped_version != self.latest_version
self.installed_version is not None
and self.__skipped_version == self.installed_version
) or (
self.latest_version is not None
and self.__skipped_version != self.latest_version
):
self.__skipped_version = None