public function state(){
        $currentState = $this->bridge->getBulbState($this->deviceId);
        $state = $currentState[0];
        return $state;
    }
public function state(){
        $currentState = $this->bridge->getBulbState($this->deviceId);
        $state = $currentState[0];
        return $state;
    }
public function state ( ) { $ currentState = $ this -> bridge -> getBulbState ( $ this -> deviceId ) ; $ state = $ currentState [ 0 ] ; return $ state ; }
Returns bulb state

@return mixed
Returns bulb state