Adjust backup type of Update entity (#68553)
This commit is contained in:
parent
1c57e65cea
commit
44d3a7e459
6 changed files with 14 additions and 42 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue