public function setName($name) { $this->client->sendCommand(new Command\SetLightName($this, (string) $name)); $this->attributes->name = (string) $name; return $this; }