It can be done with a custom device presentation using the “values” and “range” properties. Eg.
"component": "main",
"capability": "colorTemperature",
"version": 1,
"values": [
{
"key": "colorTemperature.value",
"enabledValues": [],
"range": [
2200,
6500
],
"step": 1
}
]
This way, those buttons act according to the specified range, for example in the range of 2200K - 6500K, the value for the first one is 2630K.
This is the VID as a reference: 1491a1e5-b77e-3e8b-8fad-49ed566a5ca8
, remember you can get the original device-config using the command:
smartthings presentation:device-config vid -j -o=devConfigPres.json
Link just as a reference: