Skip to content

SmartThings device suddenly unavailable/not showing any data #175080

Description

@rugk

The problem

I setup the device (fridge) yesterday, but today it's already gone, apparently.

It's still in the SmartThings app.

What version of Home Assistant Core has the issue?

core-2026.6.4

What was the last working version of Home Assistant Core?

core-2026.6.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

SmartThings

Link to integration documentation on our website

https://www.home-assistant.io/integrations/smartthings

Diagnostics information

Looks like timeout/server problems?

2026-06-27 19:53:55.821 WARNING (MainThread) [pysmartthings] SSE read timeout, closing connection and restarting

pysmartthings.exceptions.SmartThingsConnectionError: Error occurred while connecting to SmartThings

Everything else still works though (and yes I have internet?).

home-assistant_smartthings_2026-06-28T19-54-04.970Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

See above

UnboundLocalError: cannot access local variable 'state_value' where it is not associated with a value
2026-06-27 12:27:51.212 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback _TrackTimeInterval._interval_listener() (task: None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/asyncio/events.py", line 94, in _run
    self._context.run(self._callback, *self._args)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 1641, in _interval_listener
    self.hass.async_run_hass_job(self._run_job, dt_util.utcnow(), background=True)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 911, in async_run_hass_job
    hassjob.target(*args)
    ~~~~~~~~~~~~~~^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 1121, in evaluate_condition
    new_event_data = {"result": condition.async_check()}
                                ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 361, in async_check
    result = self._async_check(variables=variables)
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1240, in _async_check
    if condition.async_check(**kwargs):
       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 361, in async_check
    result = self._async_check(variables=variables)
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 379, in _async_check
    return self._checker(self._hass, variables)
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1536, in if_state
    if state(
       ~~~~~^
        hass, entity_id, req_states, for_period, attribute, variables
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1502, in state
    condition_trace_set_result(is_state, state=value, wanted_state=state_value)
                                                                   ^^^^^^^^^^^

Additional information

Unfortunately, I had to enable debug logging, such an error could IMHO be also logged by default though.

Metadata

Metadata

Assignees

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions