SmartThings (2025 + OAuth)

After removing the previous SmartThings extended from HACS, applying HA OS updates, restarting, etc…

I can successfully add the SmartThings integration, and it does prompt me to login to my Samsung account. All Good! :white_check_mark:

The entities are added and I’m presented with the summary and prompted to assign the entities to areas / rooms. All Good! :white_check_mark:

But then nothing happens. The history and states is stuck at the moment I performed the sync / link. And then never updates.

My SmartThings are limited to the Samsung appliances I have in my home: range, fridge, dishwasher, washer, dryer, TV, Galaxy S23 Ultra.

I have found repeated logged error events referencing self created subscriptions with missing subscription_id in the python SmartThings code. But that’s a bit too deep and cryptic for me to troubleshoot further.

2025-03-07 22:49:11.813 ERROR (MainThread) [pysmartthings] Error occurred while subscribing to events
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py", line 366, in subscribe
    subscription = await self._create_subscription(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        location_id, installed_app_id
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py", line 359, in _create_subscription
    return Subscription.from_json(resp)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "<string>", line 7, in __mashumaro_from_json__
mashumaro.exceptions.MissingField: Field "subscription_id" of type str is missing in Subscription instance

Anyone else?

Let me know what else I should consider to find a solution for this issue.

Yes there is an issue going on currently, I am looking into fixing this. It means that we couldn’t create a subscription to receive updates. After 4 hours the old ones should close and it should reconnect in theory

I have also noticed some issues. In my case, I have a TV and a washing machine. I had seen that the TV wasn’t displaying any information, but I didn’t pay much attention to it as it wasn’t important to me. However, I realised that the washing machine wasn’t updating its statuses because I wasn’t receiving the notifications I had set up for state changes or programme completion.

I have observed the following: if you reload the automation while the washing machine is running, it updates the statuses for a while, but then it stops working. In my case, I started a wash cycle, and when it finished, I received the notification. Immediately afterwards, I started a washer-dryer cycle. It continued updating the statuses for quite some time, but in the end, it didn’t change from “drying” to “finished” – it remained in that state until I reloaded the automation.