sebr / bhyve-home-assistant

Orbit BHyve custom component for Home Assistant
MIT License
251 stars 42 forks source link

Error doing job: Task exception was never retrieved #231

Closed dinan5 closed 4 months ago

dinan5 commented 8 months ago

Describe the bug Multiple times per day I get the following error: Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/bhyve/pybhyve/websocket.py", line 57, in _ping await self._ws.send_str(json.dumps({"event": "ping"})) File "/usr/local/lib/python3.11/site-packages/aiohttp/client_ws.py", line 165, in send_str await self._writer.send(data, binary=False, compress=compress) File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 729, in send await self._send_frame(message, WSMsgType.TEXT, compress) File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 628, in _send_frame raise ConnectionResetError("Cannot write to closing transport") ConnectionResetError: Cannot write to closing transport

Expected behaviour No error

BHyve devices two devices - Smart Hose Tap, Orbit Sprinkler Controller

Device Diagnostics

jhemak commented 4 months ago

Same

sebr commented 4 months ago

Dupe of #156