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 Franck Nijhof
parent 4d1ca93973
commit 94ef5f751f
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
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

@ -670,7 +670,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

@ -544,7 +544,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