Skip to content

Smartthings HA Core Integration failing with error pointing to pysmartthings #444

@ColinSainsbury

Description

@ColinSainsbury

Error in HA log files after SmartThings Integration crash:

Logger: pysmartthings
Source: /usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py:538
First occurred: 20 August 2025 at 23:39:21 (1 occurrence)
Last logged: 20 August 2025 at 23:39:21

Connection error occurred while subscribing to events
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py", line 527, in subscribe
await self._internal_subscribe(session, subscription_url)
File "/usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py", line 439, in _internal_subscribe
async for event in event_source:
...<49 lines>...
break
File "/usr/local/lib/python3.13/site-packages/aiohttp_sse_client2/client.py", line 157, in anext
async for line_in_bytes in self._response.content:
...<21 lines>...
self._process_field(line, '')
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 52, in anext
rv = await self.read_func()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 352, in readline
return await self.readuntil()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 386, in readuntil
await self._wait("readuntil")
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 347, in _wait
await waiter
aiohttp.client_exceptions.SocketTimeoutError: Timeout on reading data from socket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions