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 ensure_future errors in python 3.7+ #2

Closed
wants to merge 10 commits into from

Conversation

Hisma
Copy link

@Hisma Hisma commented Feb 22, 2019

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+.

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+.
@wickerwaka
Copy link
Owner

Hi, thanks for this. Can you clean up all of the additional whitespace in the PR please?

@Hisma
Copy link
Author

Hisma commented Apr 9, 2019

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.

@Hisma
Copy link
Author

Hisma commented Apr 10, 2019

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.

@wickerwaka
Copy link
Owner

I have addressed this in a way that will still work for python 3.4+

@wickerwaka wickerwaka closed this May 18, 2019
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.

2 participants