2021.12.4 breaks kodi integration #255

Closed
opened 2021-12-21 21:23:02 +01:00 by onkelbeh · 1 comment
Owner
2021-12-21 21:13:12 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up kodi platform for media_player
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 747, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/usr/lib/python3.9/site-packages/homeassistant/components/kodi/media_player.py", line 377, in async_added_to_hass
    await self._on_ws_connected()
  File "/usr/lib/python3.9/site-packages/homeassistant/components/kodi/media_player.py", line 401, in _on_ws_connected
    version = (await self._kodi.get_application_properties(["version"]))["version"]
  File "/usr/lib/python3.9/site-packages/pykodi/kodi.py", line 174, in get_application_properties
    return await self._server.Application.GetProperties(properties)
  File "/usr/lib/python3.9/site-packages/jsonrpc_websocket/jsonrpc.py", line 49, in send_message
    response = await pending_message.wait(self._timeout)
  File "/usr/lib/python3.9/site-packages/jsonrpc_websocket/jsonrpc.py", line 140, in wait
    with async_timeout.timeout(timeout=timeout):
TypeError: timeout() got an unexpected keyword argument 'timeout'
``` 2021-12-21 21:13:12 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up kodi platform for media_player Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform await asyncio.gather(*pending) File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity await entity.add_to_platform_finish() File "/usr/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 747, in add_to_platform_finish await self.async_added_to_hass() File "/usr/lib/python3.9/site-packages/homeassistant/components/kodi/media_player.py", line 377, in async_added_to_hass await self._on_ws_connected() File "/usr/lib/python3.9/site-packages/homeassistant/components/kodi/media_player.py", line 401, in _on_ws_connected version = (await self._kodi.get_application_properties(["version"]))["version"] File "/usr/lib/python3.9/site-packages/pykodi/kodi.py", line 174, in get_application_properties return await self._server.Application.GetProperties(properties) File "/usr/lib/python3.9/site-packages/jsonrpc_websocket/jsonrpc.py", line 49, in send_message response = await pending_message.wait(self._timeout) File "/usr/lib/python3.9/site-packages/jsonrpc_websocket/jsonrpc.py", line 140, in wait with async_timeout.timeout(timeout=timeout): TypeError: timeout() got an unexpected keyword argument 'timeout' ```
onkelbeh added the
Bug
label 2021-12-21 21:23:02 +01:00
onkelbeh self-assigned this 2021-12-21 21:23:02 +01:00
Author
Owner
https://github.com/home-assistant/core/issues/61507 https://github.com/emlove/jsonrpc-websocket/issues/11
Sign in to join this conversation.
No Label
Bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#255
No description provided.