{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13080","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13080/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13080/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13080/events","html_url":"https://github.com/home-assistant/home-assistant/issues/13080","id":304142063,"number":13080,"title":"Kodi Media Player stopped working since 0.65","user":{"login":"schneekluth","id":5740913,"avatar_url":"https://avatars2.githubusercontent.com/u/5740913?v=4","gravatar_id":"","url":"https://api.github.com/users/schneekluth","html_url":"https://github.com/schneekluth","followers_url":"https://api.github.com/users/schneekluth/followers","following_url":"https://api.github.com/users/schneekluth/following{/other_user}","gists_url":"https://api.github.com/users/schneekluth/gists{/gist_id}","starred_url":"https://api.github.com/users/schneekluth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schneekluth/subscriptions","organizations_url":"https://api.github.com/users/schneekluth/orgs","repos_url":"https://api.github.com/users/schneekluth/repos","events_url":"https://api.github.com/users/schneekluth/events{/privacy}","received_events_url":"https://api.github.com/users/schneekluth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-03-11T09:03:36Z","updated_at":"2018-03-11T16:08:27Z","closed_at":null,"author_association":"NONE","body":"**Home Assistant release (`hass --version`):**\r\n0.65.2\r\n\r\n**Python release (`python3 --version`):**\r\n3.5.3\r\n\r\n**Component/platform:**\r\nKodi media player\r\n\r\n**Description of problem:**\r\nSince 0.65 Kodi media player is no longer working. When Hass boots up the state is received correctly but after that the component does not longer allow playback control. When you press the play button nothing happens and some seconds later the media player shows state \"off\".\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\n- platform: kodi\r\n  host: XXX.XXX.XXX.XX\r\n  port: 80\r\n  name: 'Cubox'\r\n  turn_off_action:\r\n    service: media_player.kodi_call_method\r\n    data:\r\n      entity_id: media_player.cubox\r\n      method: System.Reboot\r\n  username: !secret kodi_user\r\n  password: !secret kodi_password\r\n```\r\n\r\nAfter enabling debug logging for the component the following error appears when I try to reboot Kodi with the turn_off_action:\r\n```\r\nhass[12981]: 2018-03-11 09:43:12 WARNING (MainThread) [homeassistant.components.media_player.kodi] TransportError trying to run API method media_player.cubox.System.Reboot({})\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/372126740","html_url":"https://github.com/home-assistant/home-assistant/issues/13080#issuecomment-372126740","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13080","id":372126740,"user":{"login":"Tadly","id":503647,"avatar_url":"https://avatars0.githubusercontent.com/u/503647?v=4","gravatar_id":"","url":"https://api.github.com/users/Tadly","html_url":"https://github.com/Tadly","followers_url":"https://api.github.com/users/Tadly/followers","following_url":"https://api.github.com/users/Tadly/following{/other_user}","gists_url":"https://api.github.com/users/Tadly/gists{/gist_id}","starred_url":"https://api.github.com/users/Tadly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tadly/subscriptions","organizations_url":"https://api.github.com/users/Tadly/orgs","repos_url":"https://api.github.com/users/Tadly/repos","events_url":"https://api.github.com/users/Tadly/events{/privacy}","received_events_url":"https://api.github.com/users/Tadly/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T16:08:27Z","updated_at":"2018-03-11T16:08:27Z","author_association":"CONTRIBUTOR","body":"I may have found the issue (which is exactly what @mikalauskas just posted).\r\nI already created a PR for that very dependency which complains about `coroutine was never awaited` -> https://github.com/armills/jsonrpc-websocket/pull/1\r\n\r\nTo get kodi working again for now you can edit `~/.homeassistant/deps/lib/python3.5/site-packages/jsonrpc_websocket/jsonrpc.py` (python version may vary) and replace line 38  so it reads:\r\n```python\r\nyield from self._client.send_str(message.serialize())\r\n```"}}
{"actor":{"display_login":"Tadly"}}