diff --git a/Milight.php b/Milight.php index e194980..534a981 100644 --- a/Milight.php +++ b/Milight.php @@ -503,11 +503,11 @@ public function rgbwSetColorToBabyBlue() */ public function rgbwSetColorToWhite() { - if ($this->getActiveGroup() == 0) { + if ($this->getRgbwActiveGroup() == 0) { $this->rgbwAllSetToWhite(); return; } - $this->command('rgbwGroup'.strval($this->getActiveGroup()).'SetToWhite'); + $this->command('rgbwGroup'.strval($this->getRgbwActiveGroup()).'SetToWhite'); } public function rgbwSetColorToAqua()