You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's due to multiple calls of asycio.run. I was able to resolve it by embedding my kasa work in an async function and then only calling asyncio.run once to run that function.
#333 improved the documentation on how to use the library when making multiple requests, so I think this can be closed. If you are still having issues, please feel free to reopen with more context (i.e., adding a minimal code example).
I'm trying to use the kasa API as part of my pytest setup but when making multiple calls to functions in the API I get:
Can I get some advice on how to resolve this warning?
The text was updated successfully, but these errors were encountered: