Adjust backup type of Update entity (#68553)

This commit is contained in:
Franck Nijhof 2022-03-23 11:20:04 +01:00 committed by GitHub
parent 1c57e65cea
commit 44d3a7e459
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 42 deletions

View file

@ -134,10 +134,7 @@ class DemoUpdate(UpdateEntity):
self._attr_supported_features |= UpdateEntityFeature.PROGRESS
async def async_install(
self,
version: str | None = None,
backup: bool | None = None,
**kwargs: Any,
self, version: str | None, backup: bool, **kwargs: Any
) -> None:
"""Install an update."""
if self.supported_features & UpdateEntityFeature.PROGRESS: