mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Increase life360 timeout (#80692)
This commit is contained in:
parent
3b78df07de
commit
f311c03741
@ -7,7 +7,7 @@ DOMAIN = "life360"
|
||||
LOGGER = logging.getLogger(__package__)
|
||||
|
||||
ATTRIBUTION = "Data provided by life360.com"
|
||||
COMM_TIMEOUT = 3.05
|
||||
COMM_TIMEOUT = 10
|
||||
SPEED_FACTOR_MPH = 2.25
|
||||
SPEED_DIGITS = 1
|
||||
UPDATE_INTERVAL = timedelta(seconds=10)
|
||||
|
@ -116,10 +116,10 @@ class Life360DataUpdateCoordinator(DataUpdateCoordinator[Life360Data]):
|
||||
return await getattr(self._api, func)(*args)
|
||||
except LoginError as exc:
|
||||
LOGGER.debug("Login error: %s", exc)
|
||||
raise ConfigEntryAuthFailed from exc
|
||||
raise ConfigEntryAuthFailed(exc) from exc
|
||||
except Life360Error as exc:
|
||||
LOGGER.debug("%s: %s", exc.__class__.__name__, exc)
|
||||
raise UpdateFailed from exc
|
||||
raise UpdateFailed(exc) from exc
|
||||
|
||||
async def _async_update_data(self) -> Life360Data:
|
||||
"""Get & process data from Life360."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user