public function setColor($selector = 'all', $color = 'white', $duration = 1.0, $power_on = true)
    {
        $request = new Request('PUT', 'lights/' . $selector . '/state');
        $response = $this->sendRequest($request, [
            'query' => [
                'color' => $color,
                'duration' => $duration,
                'power_on' => $power_on,
            ]
        ]);

        return $response->getBody();
    }