-
-
Notifications
You must be signed in to change notification settings - Fork 36.8k
Description
The problem
I have two identical Smartthings AC units. I did face problems during auth change in 2025.3.0 so I re-authenticated and the problem did not occur till 2025.3.2. Then it became on and off.
One of the two devices is not providing climate attribute. It does show every other control except for the climate control, which is basically the control plane of the device and without it I have zero ability to adjust anything. I reported this back in this thread, but the problem disappeared the next day so I did not think twice about it. But now it became permanent.
Log errors showing this:
2025-03-26 13:47:42.738 WARNING (MainThread) [custom_components.localtuya.common] [bfb...co5] Disconnected - waiting for discovery broadcast 2025-03-26 13:47:43.191 ERROR (MainThread) [homeassistant.components.climate] Error adding entity climate.office_airfree for domain climate with platform smartthings
During reload of the integration I see this:
2025-03-26 14:02:48.278 DEBUG (MainThread) [pysmartthings] Deleting subscription: 705afd87-13d7-4b74-94a8-7f76b9b073b4 2025-03-26 14:02:49.142 DEBUG (MainThread) [homeassistant.components.smartthings] Removing subscription ID 2025-03-26 14:02:49.151 DEBUG (MainThread) [homeassistant.components.smartthings] Trying to create a new subscription 2025-03-26 14:02:49.505 DEBUG (MainThread) [homeassistant.components.smartthings] Updating subscription ID to 882a9eb4-fe08-45d9-88f4-e6beaccee72d 2025-03-26 14:02:49.506 DEBUG (MainThread) [pysmartthings] Using initial subscription: Subscription(subscription_id='882a9eb4-fe08-45d9-88f4-e6beaccee72d', registration_url='https://spigot-regional.api.smartthings.com/filters/882a9eb4-fe08-45d9-88f4-e6beaccee72d/activate?filterRegion=eu-west-1', name='My Home Assistant sub') 2025-03-26 14:02:49.972 DEBUG (MainThread) [pysmartthings] Connection opened 2025-03-26 14:02:49.972 DEBUG (MainThread) [pysmartthings] Received event: welcome 2025-03-26 14:02:50.965 ERROR (MainThread) [homeassistant.components.climate] Error adding entity climate.office_airfree for domain climate with platform smartthings Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 633, in _async_add_entities await coro File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 972, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1384, in add_to_platform_finish self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1148, in _async_write_ha_state self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1089, in __async_calculate_state if extra_state_attributes := self.extra_state_attributes: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/smartthings/climate.py", line 471, in extra_state_attributes "drlc_status_level": drlc_status["drlcLevel"], ~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'drlcLevel'
What can be causing this?
Second device works without any issues and leaves no trace in the log, from what I see... Both are reporting the same firmware and hardware:
Firmware: ARTIK051_PRAC_20K_11230313
Hardware: ARTIK051
What version of Home Assistant Core has the issue?
core-2025.3.4
What was the last working version of Home Assistant Core?
core-2025.3.0
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
home-assistant_smartthings_2025-03-26T10-22-03.561Z.log
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
