Bump async-upnp-client to 0.25.0 (#66414)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Steven Looman 2022-02-27 19:29:29 +01:00 committed by GitHub
parent 1c0365a72b
commit dbbb5655e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 95 additions and 73 deletions

View file

@ -67,12 +67,13 @@ class YeelightScanner:
return _async_connected
source = (str(source_ip), 0)
self._listeners.append(
SsdpSearchListener(
async_callback=self._async_process_entry,
service_type=SSDP_ST,
target=SSDP_TARGET,
source_ip=source_ip,
source=source,
async_connect_callback=_wrap_async_connected_idx(idx),
)
)
@ -87,7 +88,7 @@ class YeelightScanner:
continue
_LOGGER.warning(
"Failed to setup listener for %s: %s",
self._listeners[idx].source_ip,
self._listeners[idx].source,
result,
)
failed_listeners.append(self._listeners[idx])