We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 010c1dd commit 91cb465Copy full SHA for 91cb465
plugwise_usb/__init__.py
@@ -6,7 +6,7 @@
6
7
from __future__ import annotations
8
9
-from asyncio import get_running_loop
+from asyncio import create_task, get_running_loop
10
from collections.abc import Callable, Coroutine
11
from functools import wraps
12
import logging
@@ -206,7 +206,7 @@ def accept_join_request(self, state: bool) -> None:
206
)
207
208
self._network.accept_join_request = state
209
- self._network.allow_join_requests(state)
+ create_task(self._network.allow_join_requests(state))
210
211
async def clear_cache(self) -> None:
212
"""Clear current cache."""
0 commit comments