Bump bring-api to 0.7.1 (#115532)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
afe55e2918
commit
db4eeffeed
4 changed files with 12 additions and 4 deletions
|
@ -6,7 +6,11 @@ from datetime import timedelta
|
|||
import logging
|
||||
|
||||
from bring_api.bring import Bring
|
||||
from bring_api.exceptions import BringParseException, BringRequestException
|
||||
from bring_api.exceptions import (
|
||||
BringAuthException,
|
||||
BringParseException,
|
||||
BringRequestException,
|
||||
)
|
||||
from bring_api.types import BringList, BringPurchase
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
|
@ -47,6 +51,10 @@ class BringDataUpdateCoordinator(DataUpdateCoordinator[dict[str, BringData]]):
|
|||
raise UpdateFailed("Unable to connect and retrieve data from bring") from e
|
||||
except BringParseException as e:
|
||||
raise UpdateFailed("Unable to parse response from bring") from e
|
||||
except BringAuthException as e:
|
||||
raise UpdateFailed(
|
||||
"Unable to retrieve data from bring, authentication failed"
|
||||
) from e
|
||||
|
||||
list_dict = {}
|
||||
for lst in lists_response["lists"]:
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/bring",
|
||||
"integration_type": "service",
|
||||
"iot_class": "cloud_polling",
|
||||
"requirements": ["bring-api==0.5.7"]
|
||||
"requirements": ["bring-api==0.7.1"]
|
||||
}
|
||||
|
|
|
@ -601,7 +601,7 @@ boschshcpy==0.2.91
|
|||
boto3==1.34.51
|
||||
|
||||
# homeassistant.components.bring
|
||||
bring-api==0.5.7
|
||||
bring-api==0.7.1
|
||||
|
||||
# homeassistant.components.broadlink
|
||||
broadlink==0.19.0
|
||||
|
|
|
@ -512,7 +512,7 @@ bond-async==0.2.1
|
|||
boschshcpy==0.2.91
|
||||
|
||||
# homeassistant.components.bring
|
||||
bring-api==0.5.7
|
||||
bring-api==0.7.1
|
||||
|
||||
# homeassistant.components.broadlink
|
||||
broadlink==0.19.0
|
||||
|
|
Loading…
Add table
Reference in a new issue