mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Fix typing in zha update entity (#135500)
This commit is contained in:
@@ -124,7 +124,7 @@ class ZHAFirmwareUpdateEntity(
|
|||||||
return self.entity_data.entity.installed_version
|
return self.entity_data.entity.installed_version
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def in_progress(self) -> bool | int | None:
|
def in_progress(self) -> bool | None:
|
||||||
"""Update installation progress.
|
"""Update installation progress.
|
||||||
|
|
||||||
Should return a boolean (True if in progress, False if not).
|
Should return a boolean (True if in progress, False if not).
|
||||||
|
Reference in New Issue
Block a user