public function setAlert($mode = SetLightState::ALERT_LONG_SELECT) { $x = new SetGroupState($this); $y = $x->alert($mode); $this->client->sendCommand($y); $this->attributes->action->alert = $mode; return $this; }