mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
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
@ -6,7 +6,11 @@ from datetime import timedelta
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from bring_api.bring import Bring
|
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 bring_api.types import BringList, BringPurchase
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
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
|
raise UpdateFailed("Unable to connect and retrieve data from bring") from e
|
||||||
except BringParseException as e:
|
except BringParseException as e:
|
||||||
raise UpdateFailed("Unable to parse response from bring") from 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 = {}
|
list_dict = {}
|
||||||
for lst in lists_response["lists"]:
|
for lst in lists_response["lists"]:
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/bring",
|
"documentation": "https://www.home-assistant.io/integrations/bring",
|
||||||
"integration_type": "service",
|
"integration_type": "service",
|
||||||
"iot_class": "cloud_polling",
|
"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
|
boto3==1.34.51
|
||||||
|
|
||||||
# homeassistant.components.bring
|
# homeassistant.components.bring
|
||||||
bring-api==0.5.7
|
bring-api==0.7.1
|
||||||
|
|
||||||
# homeassistant.components.broadlink
|
# homeassistant.components.broadlink
|
||||||
broadlink==0.19.0
|
broadlink==0.19.0
|
||||||
|
@ -512,7 +512,7 @@ bond-async==0.2.1
|
|||||||
boschshcpy==0.2.91
|
boschshcpy==0.2.91
|
||||||
|
|
||||||
# homeassistant.components.bring
|
# homeassistant.components.bring
|
||||||
bring-api==0.5.7
|
bring-api==0.7.1
|
||||||
|
|
||||||
# homeassistant.components.broadlink
|
# homeassistant.components.broadlink
|
||||||
broadlink==0.19.0
|
broadlink==0.19.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user