Open
Description
The integration periodically loses connection to the Pentair system and requires HA to be restarted to reconnect.
Logs below:
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/intellicenter/pyintellicenter/controller.py:165
integration: Pentair IntelliCenter (documentation, issues)
First occurred: 8:22:57 AM (1 occurrences)
Last logged: 8:22:57 AM
Error doing job: Exception in callback _SelectorSocketTransport._call_connection_lost() (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/selector_events.py", line 1184, in _call_connection_lost
super()._call_connection_lost(exc)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/asyncio/selector_events.py", line 903, in _call_connection_lost
self._protocol.connection_lost(exc)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/config/custom_components/intellicenter/pyintellicenter/protocol.py", line 59, in connection_lost
self._controller.connection_lost(exc)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/config/custom_components/intellicenter/pyintellicenter/controller.py", line 133, in connection_lost
self.stop() # should that be a cleanup instead?
~~~~~~~~~^^
File "/config/custom_components/intellicenter/pyintellicenter/controller.py", line 165, in stop
request.cancel()
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'cancel'
Metadata
Metadata
Assignees
Labels
No labels