mirror of
https://github.com/home-assistant/core.git
synced 2025-12-20 02:48:57 +00:00
update firmware handling in SMLIGHT integration (#157145)
This commit is contained in:
@@ -166,7 +166,9 @@ class SmFirmwareUpdateCoordinator(SmBaseDataUpdateCoordinator[SmFwData]):
|
||||
zb_firmware: list[FirmwareList] = []
|
||||
|
||||
try:
|
||||
esp_firmware = await self.client.get_firmware_version(info.fw_channel)
|
||||
esp_firmware = await self.client.get_firmware_version(
|
||||
info.fw_channel, device=info.model
|
||||
)
|
||||
zb_firmware.extend(
|
||||
[
|
||||
await self.client.get_firmware_version(
|
||||
|
||||
Reference in New Issue
Block a user