ha-smartthinq-sensors: API disconnect - reboot will not resolve.

Describe the bug A clear and concise description of what the bug is. If possible attach the JSON info file for your devices.

Expected behavior If applicable, a clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment details:

  • Environment (HASSIO, Raspbian, etc):
  • Home Assistant version installed:

Home Assistant 2022.11.2 Supervisor 2022.10.2 Frontend 20221108.0 - latest

  • Component version installed: latest 0.24.2
  • Last know working version:
  • LG device type and model with issue:
  • LG devices connected (list):

Output of HA logs Paste the relavant output of the HA log here.


Logger: custom_components.smartthinq_sensors
Source: custom_components/smartthinq_sensors/wideq/core_async.py:327 
Integration: SmartThinQ LGE Sensors (documentation, issues) 
First occurred: 11:12:17 PM (1 occurrences) 
Last logged: 11:12:17 PM

Connection not available. ThinQ platform not ready
Traceback (most recent call last):
  File "/config/custom_components/smartthinq_sensors/__init__.py", line 221, in async_setup_entry
    client = await lge_auth.create_client_from_token(refresh_token, oauth_url)
  File "/config/custom_components/smartthinq_sensors/__init__.py", line 127, in create_client_from_token
    return await ClientAsync.from_token(
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1255, in from_token
    await client.refresh()
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1196, in refresh
    await self._load_devices()
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1112, in _load_devices
    self._devices = await self._session.get_devices()
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 898, in get_devices
    dashboard = await self.get2("service/application/dashboard")
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 887, in get2
    return await self._auth.gateway.core.thinq2_get(
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 283, in thinq2_get
    res = self._manage_lge_result(out, True)
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 327, in _manage_lge_result
    raise API2_ERRORS[code]()
custom_components.smartthinq_sensors.wideq.core_exceptions.NotConnectedError

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@ollo69

Updating my home assistant docker container to 2023.2 seems to have solved the issue, I haven’t’ seen the error on the logs since then