Smartthings Integration disappears every 24 hours

Resolved with the update to 2025.3.1

1 Like

Appreciate all the work @joostlek put into bringing the SmartThings integration back to life. After deleting the integration back in January I figured I would give it another go. I have 11 Sensi thermostats connected using SmartThings. The problem I am a having since the update is random. disconnect of all the entities. I receive a 404 error in the HA mobile app on the dashboard page for the resource. If I go to integration and do a reload on the SmartThings integration the problem is immediately solved.

I am running HA on a Proxmox VM. I do a nightly backup which shuts down HA to perform the backup. The first time this happened I figured I was loosing connection due to a restart of HA. But that is not the case. This appears to happen randomly, not every day. Anyone have any ideas?

How do you mean 404? That sounds like something with your instance rather than the integration?

Do your Sensi thermostats show all available modes in Home Assistant? Only Heat, Cool, and Heat_Cool show up for me. SmartThings tells me it’s a Home Assistant problem. I can’t even turn the thermostat off.

No 404 errors for me though.

Yes. Using SmartThings I have the following modes. Heat/Cool, Heat, Cool and Off. Using Apple Homekit gives me the same modes but does not expose the fan modes or the humidity sensor.

1 Like

The 404 error I see comes up on the bottom of by dashboard page containing a group of my climate cards. Al other cards containing all other entities function as normal. the only way to bring my climate entities back to life as I mentioned earlier is to go to Settings > Devices and Services > SmartThings > click the 3 dots and select reload. After reloading climate entities are again available.

Can you screenshot that

Has not happened the last view days. Next time it does I will screen shot it.

Currently having the same issue of having to reload the integration daily.

Logger: pysmartthings
Source: /usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py:538
First occurred: August 5, 2025 at 9:38:40 PM (1 occurrence)
Last logged: August 5, 2025 at 9:38:40 PM

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

and then is followed by:

Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: August 5, 2025 at 9:39:10 PM (1 occurrence)
Last logged: August 5, 2025 at 9:39:10 PM

Error setting up entry Home for smartthings
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/smartthings/__init__.py", line 117, in async_setup_entry
    implementation = await async_get_config_entry_implementation(hass, entry)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 581, in async_get_config_entry_implementation
    raise ValueError("Implementation not available")
ValueError: Implementation not available
3 Likes