Fix timeout issue in devolo_home_network (#100350)

This commit is contained in:
Guido Schmitz 2023-09-14 10:28:45 +02:00 committed by GitHub
parent b0f32a3547
commit b84076d3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ async def async_setup_entry( # noqa: C901
"""Fetch data from API endpoint.""" """Fetch data from API endpoint."""
assert device.device assert device.device
try: try:
async with asyncio.timeout(10): async with asyncio.timeout(30):
return await device.device.async_check_firmware_available() return await device.device.async_check_firmware_available()
except DeviceUnavailable as err: except DeviceUnavailable as err:
raise UpdateFailed(err) from err raise UpdateFailed(err) from err

View File

@ -8,7 +8,7 @@
"iot_class": "local_polling", "iot_class": "local_polling",
"loggers": ["devolo_plc_api"], "loggers": ["devolo_plc_api"],
"quality_scale": "platinum", "quality_scale": "platinum",
"requirements": ["devolo-plc-api==1.4.0"], "requirements": ["devolo-plc-api==1.4.1"],
"zeroconf": [ "zeroconf": [
{ {
"type": "_dvl-deviceapi._tcp.local.", "type": "_dvl-deviceapi._tcp.local.",

View File

@ -675,7 +675,7 @@ denonavr==0.11.3
devolo-home-control-api==0.18.2 devolo-home-control-api==0.18.2
# homeassistant.components.devolo_home_network # homeassistant.components.devolo_home_network
devolo-plc-api==1.4.0 devolo-plc-api==1.4.1
# homeassistant.components.directv # homeassistant.components.directv
directv==0.4.0 directv==0.4.0

View File

@ -552,7 +552,7 @@ denonavr==0.11.3
devolo-home-control-api==0.18.2 devolo-home-control-api==0.18.2
# homeassistant.components.devolo_home_network # homeassistant.components.devolo_home_network
devolo-plc-api==1.4.0 devolo-plc-api==1.4.1
# homeassistant.components.directv # homeassistant.components.directv
directv==0.4.0 directv==0.4.0