simbaja / ha_gehome

GE Home Appliances (SmartHQ) for Home Assistant
MIT License
347 stars 80 forks source link

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

Open garyak opened 1 week ago

garyak commented 1 week ago

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.