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

Error doing job: Task exception was never retrieved (None) #304

Closed
garyak opened this issue Nov 16, 2024 · 2 comments
Closed

Error doing job: Task exception was never retrieved (None) #304

garyak opened this issue Nov 16, 2024 · 2 comments

Comments

@garyak
Copy link

garyak commented Nov 16, 2024

HA Core 2024.11.2 logs the following with version 0.6.13:

2024-11-16 02:51:19.938 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/config/custom_components/ge_home/update_coordinator.py", line 334, in on_device_initial_update
    if self.connected and self.client.available:
                          ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/gehomesdk/clients/websocket_client.py", line 59, in available
    return self._socket and not self._socket.closed
                                ^^^^^^^^^^^^^^^^^^^
AttributeError: 'ClientConnection' object has no attribute 'closed'. Did you mean: 'close'?

Integration remains connected with values reported.

@VlastiBroucek
Copy link

#306 (comment)

@AlternetConcept
Copy link

Same issue

Log details (ERROR)
Logger: gehomesdk.clients.base_client
Source: /usr/local/lib/python3.12/site-packages/gehomesdk/clients/base_client.py:141
First occurred: 5:42:29 PM (1 occurrences)
Last logged: 5:42:29 PM

'ClientConnection' object has no attribute 'closed'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/gehomesdk/clients/base_client.py", line 132, in async_run_client
await self._async_run_client()
File "/usr/local/lib/python3.12/site-packages/gehomesdk/clients/websocket_client.py", line 133, in _async_run_client
await self._disconnect()
File "/usr/local/lib/python3.12/site-packages/gehomesdk/clients/websocket_client.py", line 246, in _disconnect
if self._socket and not self._socket.closed:
^^^^^^^^^^^^^^^^^^^
AttributeError: 'ClientConnection' object has no attribute 'closed'. Did you mean: 'close'?

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

No branches or pull requests

4 participants