Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: python3.11 support #11

Merged
merged 2 commits into from
Jun 14, 2023
Merged

fix: python3.11 support #11

merged 2 commits into from
Jun 14, 2023

Conversation

ruant
Copy link
Contributor

@ruant ruant commented Jun 14, 2023

Due to changes in python 3.11 coroutines is now not allowed to be passed to wait directly

Check this for more info:
https://docs.python.org/3/library/asyncio-task.html#asyncio.wait

Check the issue toreamun/amshan-homeassistant#62 for more info.
Credits goes to https://github.com/m0bygit for the fix!

Fixes toreamun/amshan-homeassistant#62

ruant and others added 2 commits June 14, 2023 19:58
Due to changes in python 3.11 coroutines is now not allowed to be passed to `wait` directly

Check this for more info:
https://docs.python.org/3/library/asyncio-task.html#asyncio.wait

fixes #62
@toreamun toreamun merged commit 7e89c8f into toreamun:master Jun 14, 2023
@toreamun
Copy link
Owner

Thanks @ruant

@ruant
Copy link
Contributor Author

ruant commented Jun 15, 2023

Thanks, but the credit should go to https://github.com/m0bygit for the code changes.
I just made the PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AMSHAN Stopped Working after update to Home Assistant 2023.6.0
2 participants