mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix update entity not sticking with skipped version (#70779)
This commit is contained in:
parent
89e3a48751
commit
f84c33203b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user