public setSaturation ( integer $value ) : self | ||
$value | integer | Saturation value |
리턴 | self | This object |
public function setSaturation($value)
{
$x = new SetGroupState($this);
$y = $x->saturation((int) $value);
$this->client->sendCommand($y);
// Change both saturation and color mode state
$this->attributes->action->sat = (int) $value;
$this->attributes->action->colormode = 'hs';
return $this;
}