Fix update for smart devices

This commit is contained in:
Teemu Rytilahti
2024-08-31 15:31:25 +02:00
parent 06c5e55ac6
commit 64eed4fbdd
2 changed files with 2 additions and 3 deletions

View File

@@ -228,8 +228,7 @@ class Firmware(SmartModule, FirmwareInterface):
| None = None,
) -> UpdateResult:
"""Update the firmware."""
# TODO: implement, this is part of the common firmware API
raise NotImplementedError
return await self.update(progress_cb)
async def check_for_updates(self) -> FirmwareUpdateInfoInterface:
"""Return firmware update information."""