home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.55k stars 30.73k forks source link

SmartThings - Light only reporting 'color_mode: hs' when light is set using color temperature. #125233

Open NathanGilbert2 opened 2 months ago

NathanGilbert2 commented 2 months ago

The problem

Attempting to set up an automation that changes the color of my light to provide notification of a completed task, then return it to its previous state. When recording the previous state in a variable I discovered the light is only ever reporting the previously recorded hs_color and not the color temperature it is set to. The light during my testing was set at 3017K and I was able to see this physically and in the SmartThings App in the history. Looking at Home Assistant it had instead reported color_mode: hs + hs_color: 126.879, 92.549 while I expected was color_mode: color_temp + color_temp_kelvin: 3017.

Looking for support in resolving the issue with SmartThings Integration logic that determines what color mode a SmartThings light is currently in so my automation logic will work to return the light to its previous state.

Provided screenshots from the SmartThings App and from my Home Assistant light entity state.

Screenshot 2024-09-04 094755
IMG_8285 IMG_8281
IMG_8282 IMG_8283
IMG_8284

What version of Home Assistant Core has the issue?

core-2024.8.3

What was the last working version of Home Assistant Core?

No response

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

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

smartthings documentation smartthings source