public function getDeviceState($deviceName)
    {
        $uri = "deviceStates/$deviceName";
        $response = $this->client->getEndpoint()->get($uri);

        return new DeviceState($this->client, \GuzzleHttp\json_decode($response->getBody()));
    }