public function send(Client $client)
{
// Get response
$response = $client->getTransport()->sendRequest("/api/{$client->getUsername()}/lights");
$lights = array();
foreach ($response as $lightId => $attributes) {
$lights[$lightId] = new Light($lightId, $attributes, $client);
}
return $lights;
}