Increase upnp timeout from 5 seconds to 10 seconds (#40540)

pull/40549/head
Steven Looman 2020-09-24 18:27:55 +02:00 committed by GitHub
parent 0b11559031
commit c3b6675617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Device:
"""Create UPnP/IGD device."""
# build async_upnp_client requester
session = async_get_clientsession(hass)
requester = AiohttpSessionRequester(session, True)
requester = AiohttpSessionRequester(session, True, 10)
# create async_upnp_client device
factory = UpnpFactory(requester, disable_state_variable_validation=True)