public function setHue($value)
{
$x = new SetLightState($this);
$y = $x->hue((int) $value);
$this->client->sendCommand($y);
// Change both hue and color mode state
$this->attributes->state->hue = (int) $value;
$this->attributes->state->colormode = 'hs';
return $this;
}