Bump aioshelly to 11.4.1 to accomodate shelly GetStatus calls that take a few seconds to respond (#124893)
Co-authored-by: Shay Levy <levyshay1@gmail.com>pull/124880/head
parent
0948a94409
commit
c6ff445dd4
|
@ -793,8 +793,7 @@ class ShellyRpcPollingCoordinator(ShellyCoordinatorBase[RpcDevice]):
|
||||||
|
|
||||||
LOGGER.debug("Polling Shelly RPC Device - %s", self.name)
|
LOGGER.debug("Polling Shelly RPC Device - %s", self.name)
|
||||||
try:
|
try:
|
||||||
await self.device.update_status()
|
await self.device.poll()
|
||||||
await self.device.get_dynamic_components()
|
|
||||||
except (DeviceConnectionError, RpcCallError) as err:
|
except (DeviceConnectionError, RpcCallError) as err:
|
||||||
raise UpdateFailed(f"Device disconnected: {err!r}") from err
|
raise UpdateFailed(f"Device disconnected: {err!r}") from err
|
||||||
except InvalidAuthError:
|
except InvalidAuthError:
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["aioshelly"],
|
"loggers": ["aioshelly"],
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
"requirements": ["aioshelly==11.3.0"],
|
"requirements": ["aioshelly==11.4.1"],
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
{
|
{
|
||||||
"type": "_http._tcp.local.",
|
"type": "_http._tcp.local.",
|
||||||
|
|
|
@ -359,7 +359,7 @@ aioruuvigateway==0.1.0
|
||||||
aiosenz==1.0.0
|
aiosenz==1.0.0
|
||||||
|
|
||||||
# homeassistant.components.shelly
|
# homeassistant.components.shelly
|
||||||
aioshelly==11.3.0
|
aioshelly==11.4.1
|
||||||
|
|
||||||
# homeassistant.components.skybell
|
# homeassistant.components.skybell
|
||||||
aioskybell==22.7.0
|
aioskybell==22.7.0
|
||||||
|
|
|
@ -341,7 +341,7 @@ aioruuvigateway==0.1.0
|
||||||
aiosenz==1.0.0
|
aiosenz==1.0.0
|
||||||
|
|
||||||
# homeassistant.components.shelly
|
# homeassistant.components.shelly
|
||||||
aioshelly==11.3.0
|
aioshelly==11.4.1
|
||||||
|
|
||||||
# homeassistant.components.skybell
|
# homeassistant.components.skybell
|
||||||
aioskybell==22.7.0
|
aioskybell==22.7.0
|
||||||
|
|
|
@ -678,7 +678,7 @@ async def test_rpc_polling_auth_error(
|
||||||
|
|
||||||
monkeypatch.setattr(
|
monkeypatch.setattr(
|
||||||
mock_rpc_device,
|
mock_rpc_device,
|
||||||
"update_status",
|
"poll",
|
||||||
AsyncMock(
|
AsyncMock(
|
||||||
side_effect=InvalidAuthError,
|
side_effect=InvalidAuthError,
|
||||||
),
|
),
|
||||||
|
@ -768,7 +768,7 @@ async def test_rpc_polling_connection_error(
|
||||||
|
|
||||||
monkeypatch.setattr(
|
monkeypatch.setattr(
|
||||||
mock_rpc_device,
|
mock_rpc_device,
|
||||||
"update_status",
|
"poll",
|
||||||
AsyncMock(
|
AsyncMock(
|
||||||
side_effect=DeviceConnectionError,
|
side_effect=DeviceConnectionError,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue