Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor readme fix #167

Merged
merged 1 commit into from
Feb 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $ npm install node-hue-api

Node.js using yarn:
```
$ yarn install node-hue-api
$ yarn add node-hue-api
```

## v3 API
Expand Down Expand Up @@ -268,7 +268,7 @@ async function discoverAndCreateUser() {
const authenticatedApi = await hueApi.createLocal(ipAddress).connect(createdUser.username);

// Do something with the authenticated user/api
const bridgeConfig = await authenticatedApi.configuration.get();
const bridgeConfig = await authenticatedApi.configuration.getConfiguration();
console.log(`Connected to Hue Bridge: ${bridgeConfig.name} :: ${bridgeConfig.ipaddress}`);

} catch(err) {
Expand Down