First off: @joostlek has done some amazingly awesome work on the official SmartThings integration for HA. With the deprecation of PAT (or rather, unreliability and constant expiration of tokens), something needed to be done.
Setting up the integration was simple, after realizing that “cloud:” needs to be added to configuration.yaml
The one SmartThing that I found to be missing was a sensor for the state of the Cooktop of a Samsung Range.
My use case for this sensor is to automate turning on and turning off the overhead lighting of the cooktop.
The previous HACS integration for SmartThings had a sensor with states of “ready” and “working”.
But today, I discovered a solution / workaround for the missing sensor in the SmartThings 2025 official integration.
Prerequisites:
• Samsung mobile with SmartThings app
• SmartThings Hub
• Home Assistant with SmartThings official integration
• Samsung Account
I recently purchased a new The Frame TV. This uses a One Connect i/o box. One of the optional software packages is to enable the One Connect box as a SmartThings hub.
Enable this and do all necessary updates.
Next, in SmartThings mobile app on Android (not available on iOS), access the Menu (hamburger bottom right) → Labs → scroll down to Virtual Switch
tap the + and select Switch; name it appropriately.
Next create a routine, with the IF being the Range Cooktop State and the THEN being the Virtual Switch just created.
Back in Home Assistant, be sure to reload the SmartThings integration.
The Virtual Switch created in SmartThings will now appear as an entity in Home Assistant. Use this entity state change in automations or Node-RED.