OpenEPaperLink / Home_Assistant_Integration

Home assistant Integration for the OpenEPaperLink project
Apache License 2.0
132 stars 33 forks source link

HA cannot connect to AP v2 on latest version 0.4.7.6 #130

Open DanielTerletzkiy opened 3 months ago

DanielTerletzkiy commented 3 months ago

Describe the bug On version 0.4.7.6 i cannot establish a connection to the ap, when looking into the debug logs, it will show reconnect errors, despite the AP v2 working perfectly fine

To Reproduce

  1. install v 0.4.7.6
  2. restart HA
  3. receive connection errors

Expected behavior HA should be able to connect to AP v2

Additional context logs: 2024-03-30 05:00:20.995 ERROR (Thread-18 (connection_thread)) [custom_components.open_epaper_link.hub] WebSocketApp.run_forever() got an unexpected keyword argument 'reconnect' Traceback (most recent call last): File "/config/custom_components/open_epaper_link/hub.py", line 219, in connection_thread ws.run_forever(reconnect=_RECONNECT_SECONDS) TypeError: WebSocketApp.run_forever() got an unexpected keyword argument 'reconnect' 2024-03-30 05:00:20.996 ERROR (Thread-18 (connection_thread)) [custom_components.open_epaper_link.hub] open_epaper_link WebSocketApp crashed, reconnecting in 30 seconds 2024-03-30 05:00:21.001 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.ap_systime fails

svenove commented 3 months ago

Looks like the same as #126. Do you have Easee as well?

DanielTerletzkiy commented 3 months ago

hey! no, i currently do not have the Easee integration installed

jonasniesner commented 3 months ago

Can you maybe share a list of other integrations you use that also use the websocket library?