public function setColorTemp($value)
{
$x = new SetGroupState($this);
$y = $x->colorTemp((int) $value);
$this->client->sendCommand($y);
// Change both internal color temp and colormode state
$this->attributes->action->ct = (int) $value;
$this->attributes->action->colormode = 'ct';
return $this;
}