bumping pyowletapi version
### Fix * Bump pyowletapi to 2023.5.21, fix for unawaited authentication call believe to be causing an issue reauthenticating when token had expired * Github username change reflected, won't change again
This commit is contained in:
@@ -5,7 +5,7 @@ from datetime import timedelta
|
||||
import logging
|
||||
|
||||
from pyowletapi.sock import Sock
|
||||
from pyowletapi.exceptions import OwletError
|
||||
from pyowletapi.exceptions import OwletError, OwletConnectionError
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity import DeviceInfo
|
||||
@@ -49,5 +49,5 @@ class OwletCoordinator(DataUpdateCoordinator):
|
||||
"""Fetch the data from the device."""
|
||||
try:
|
||||
await self.sock.update_properties()
|
||||
except OwletError as err:
|
||||
except (OwletError, OwletConnectionError) as err:
|
||||
raise UpdateFailed(err) from err
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"domain": "owlet",
|
||||
"name": "Owlet Smart Sock",
|
||||
"codeowners": [
|
||||
"@RyanClark123"
|
||||
"@ryanbdclark"
|
||||
],
|
||||
"config_flow": true,
|
||||
"dependencies": [],
|
||||
@@ -10,7 +10,7 @@
|
||||
"homekit": {},
|
||||
"iot_class": "cloud_polling",
|
||||
"requirements": [
|
||||
"pyowletapi==2023.5.20"
|
||||
"pyowletapi==2023.5.21"
|
||||
],
|
||||
"version":"1.5.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user