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
Insteon with 2448A7: "SyntaxError: invalid syntax" when initializing component #16644
Comments
Looks like insteonplm is not ready for Python 3.7: nugget/python-insteonplm#107 |
More 3.7 WIP in #15479 |
Found a workaround. Edit try:
ensure_future = asyncio.ensure_future
except AttributeError:
ensure_future = asyncio.async ...to just this: ensure_future = asyncio.ensure_future |
Or better IMO, apply the change from the above mentioned insteonplm PR: |
Thanks for finding this issue with 3.7. Currently the lowest release supported by |
As mentioned in the PR, a bunch of test failures remain after that change, so it's likely that some more work is needed. https://travis-ci.org/nugget/python-insteonplm/jobs/429158686 |
Yeah, looks like 3.7 requires 3.5.3 syntax for |
Home Assistant release with the issue: 0.77.3
Last working Home Assistant release (if known): n/a
Operating environment (Hass.io/Docker/Windows/etc.): Arch Linux
Component/platform: Insteon
Description of problem: Python exception is raised when initializing Insteon component (see backtrace)
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
The text was updated successfully, but these errors were encountered: