Hue Color Rule - Switching back to default

I got a hue bulb…color, and trying to mess around.
I’m setting the color via a rule, and what i’m experiencing is the bulb changing back to a default white i assume?
I briefly see it turn red, then back to white.

Switch KitchenColorHueSW {channel=“hue:0210:00178812783e:5:color”}
Dimmer KitchenColorHueColorTemp {channel=“hue:0210:00178812783e:5:color_temperature”}
Dimmer KitchenColorDim {channel=“hue:0210:00178812783e:5:color”}
Color KitchenColorCol {channel=“hue:0210:00178812783e:5:color”}

if (KitchenColorHueSW != ON){
	sendCommand(KitchenColorHueSW,ON)
}
Thread::sleep(4000)
sendCommand(KitchenColorDim, 56)
sendCommand(KitchenColorCol, "345,100,56")
sendCommand(KitchenColorHueColorTemp, 0)

I can see in the rest interface the color change to 345,100,56 then it changes immediately to 227,30,0

I have no idea why.

Thanks

As I don’t have any hues myself I’m just guessing, but setting a color temperature probably sets the bulb white, to the specified color temperature. Try removing that last line and it should stay at the specified color.

Thanks…that seems to be it!