{"action":"created","issue":{"url":"https://api.github.com/repos/postlund/pyatv/issues/151","repository_url":"https://api.github.com/repos/postlund/pyatv","labels_url":"https://api.github.com/repos/postlund/pyatv/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/postlund/pyatv/issues/151/comments","events_url":"https://api.github.com/repos/postlund/pyatv/issues/151/events","html_url":"https://github.com/postlund/pyatv/issues/151","id":351011842,"node_id":"MDU6SXNzdWUzNTEwMTE4NDI=","number":151,"title":"atvremote and pyatv asyncio.async error","user":{"login":"rephlex00","id":20785249,"node_id":"MDQ6VXNlcjIwNzg1MjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/20785249?v=4","gravatar_id":"","url":"https://api.github.com/users/rephlex00","html_url":"https://github.com/rephlex00","followers_url":"https://api.github.com/users/rephlex00/followers","following_url":"https://api.github.com/users/rephlex00/following{/other_user}","gists_url":"https://api.github.com/users/rephlex00/gists{/gist_id}","starred_url":"https://api.github.com/users/rephlex00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rephlex00/subscriptions","organizations_url":"https://api.github.com/users/rephlex00/orgs","repos_url":"https://api.github.com/users/rephlex00/repos","events_url":"https://api.github.com/users/rephlex00/events{/privacy}","received_events_url":"https://api.github.com/users/rephlex00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-16T00:19:36Z","updated_at":"2018-08-20T07:10:25Z","closed_at":null,"author_association":"NONE","body":"**Operating System**: OS X 10.13.6\r\n**Python Version**: 3.7\r\n**PyATV Version**: 0.3.10\r\n**Native and Virtual environments**: yes\r\n\r\nI've been wrestling with this all day thinking I was doing something wrong (which I absolutely may be), but I'm at wits end.  Home Assistant's dependency install of pyatv, virtual environment pip install, and native environment pip install yields the same error.  I even tried it on another Mac that I had laying around it it gave me the exact same error.\r\n\r\nWhen simply running atvremote (.bash_profile PATH set correctly), or using python3[.7] /path/to/atvremote the following is the only output:\r\n\r\n`Traceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.7/bin/atvremote\", line 7, in <module>\r\n    from pyatv.__main__ import main\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyatv/__init__.py\", line 13, in <module>\r\n    from pyatv.internal.apple_tv import AppleTVInternal\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyatv/internal/apple_tv.py\", line 363\r\n    run_async = asyncio.async  # pylint: disable=no-member\r\n                            ^\r\nSyntaxError: invalid syntax`\r\n\r\nObviously the paths differ based on venv or native, but other than that it's the same.\r\n\r\nWhen trying to use the appletv component of Home Assistant the following shows up in the log:\r\n\r\n`Error doing job: Task exception was never retrieved\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/homeassistant/components/apple_tv.py\", line 115, in scan_for_apple_tvs\r\n    import pyatv\r\n  File \"/Users/user/.homeassistant/deps/lib/python/site-packages/pyatv/__init__.py\", line 13, in <module>\r\n    from pyatv.internal.apple_tv import AppleTVInternal\r\n  File \"/Users/user/.homeassistant/deps/lib/python/site-packages/pyatv/internal/apple_tv.py\", line 363\r\n    run_async = asyncio.async  # pylint: disable=no-member\r\n                            ^\r\nSyntaxError: invalid syntax`\r\n\r\nClearly the same error.  I've tried a lot of things to try and fix the problem, including reinstalling all dependencies manually at their required versions but the error persists.\r\n\r\nAny help would be appreciated, even if it's to tell me I'm doing something painfully obvious incorrectly.\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/postlund/pyatv/issues/comments/414218538","html_url":"https://github.com/postlund/pyatv/issues/151#issuecomment-414218538","issue_url":"https://api.github.com/repos/postlund/pyatv/issues/151","id":414218538,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDIxODUzOA==","user":{"login":"postlund","id":5982179,"node_id":"MDQ6VXNlcjU5ODIxNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/5982179?v=4","gravatar_id":"","url":"https://api.github.com/users/postlund","html_url":"https://github.com/postlund","followers_url":"https://api.github.com/users/postlund/followers","following_url":"https://api.github.com/users/postlund/following{/other_user}","gists_url":"https://api.github.com/users/postlund/gists{/gist_id}","starred_url":"https://api.github.com/users/postlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postlund/subscriptions","organizations_url":"https://api.github.com/users/postlund/orgs","repos_url":"https://api.github.com/users/postlund/repos","events_url":"https://api.github.com/users/postlund/events{/privacy}","received_events_url":"https://api.github.com/users/postlund/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T07:10:25Z","updated_at":"2018-08-20T07:10:25Z","author_association":"OWNER","body":"@rephlex00 I didn't have time to fix this last week, but I definitely will tonight. Will also include fix for #150."}}
{"actor":{"display_login":"postlund"}}