public function installUpdates() { $this->client->sendCommand(new SetBridgeConfig(array('swupdate' => array('updatestate' => self::STATE_INSTALLING)))); $this->attributes->updatestate = self::STATE_INSTALLING; return $this; }