-
Notifications
You must be signed in to change notification settings - Fork 10
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 ensure_future errors in python 3.7+ #2
Conversation
This plugin is broken on home assistant .88 and above. The file has been modified to change all instances of "ensure_future" to "asyncio.ensure_future". With these changes, the plugin works correctly again in home assistant .88+.
Hi, thanks for this. Can you clean up all of the additional whitespace in the PR please? |
done! Huge pain in the ass sorry for all the commits. I copy/pasted my code instead of modifying the existing code which created all those whitespace changes. It's all cleaned up now. Let me know if that works for you. |
Should I just do a new clean PR? I see now it wants to merge all my commits instead of the latest. Sorry. Not something I do often obviously. Or perhaps you can see my changes and just update yourself. It's a very simple update. |
I have addressed this in a way that will still work for python 3.4+ |
This plugin is broken on home assistant .88 and above. The file has been modified to change all instances of "ensure_future" to "asyncio.ensure_future". With these changes, the plugin works correctly again in home assistant .88+.