Update nibe to 1.6.0 (#84449)

* Bump nibe to 1.6.0

* Only fail coordinator if all updates failed
pull/84526/head
Joakim Plate 2022-12-24 10:45:26 +01:00 committed by GitHub
parent 75739d8621
commit ffb1722ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -282,7 +282,11 @@ class Coordinator(ContextCoordinator[dict[int, Coil], int]):
result[coil.address] = coil
self.seed.pop(coil.address, None)
except CoilReadException as exception:
if not result:
raise UpdateFailed(f"Failed to update: {exception}") from exception
self.logger.debug(
"Some coils failed to update, and may be unsupported: %s", exception
)
return result

View File

@ -3,7 +3,7 @@
"name": "Nibe Heat Pump",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/nibe_heatpump",
"requirements": ["nibe==1.5.0"],
"requirements": ["nibe==1.6.0"],
"codeowners": ["@elupus"],
"iot_class": "local_polling"
}

View File

@ -1173,7 +1173,7 @@ nextcord==2.0.0a8
nextdns==1.2.2
# homeassistant.components.nibe_heatpump
nibe==1.5.0
nibe==1.6.0
# homeassistant.components.niko_home_control
niko-home-control==0.2.1

View File

@ -860,7 +860,7 @@ nextcord==2.0.0a8
nextdns==1.2.2
# homeassistant.components.nibe_heatpump
nibe==1.5.0
nibe==1.6.0
# homeassistant.components.nfandroidtv
notifications-android-tv==0.1.5