Closed JCKodel closed 7 months ago
Describe the bug All air conditioners appears as unavailable
Environment details:
Output of HA logs
Logger: custom_components.smartthinq_sensors Source: custom_components/smartthinq_sensors/__init__.py:252 Integration: SmartThinQ LGE Sensors ([documentation](https://github.com/ollo69/ha-smartthinq-sensors), [issues](https://github.com/ollo69/ha-smartthinq-sensors/issues)) First occurred: 8:05:07 PM (1 occurrences) Last logged: 8:05:07 PM Connection not available. ThinQ platform not ready Traceback (most recent call last): File "/config/custom_components/smartthinq_sensors/__init__.py", line 252, in async_setup_entry client = await lge_auth.create_client_from_token(refresh_token, oauth2_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/smartthinq_sensors/__init__.py", line 151, in create_client_from_token return await ClientAsync.from_token( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1446, in from_token await client.refresh() File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1366, in refresh await self._load_devices() File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1283, in _load_devices new_devices = await self._session.get_devices() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1065, in get_devices self._common_lang_pack_url = dashboard.get("langPackCommonUri") ^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'get'
Describe the bug All air conditioners appears as unavailable
Environment details:
Output of HA logs