We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0dd24c + 0d0d010 commit c7e95a6Copy full SHA for c7e95a6
README.md
@@ -69,7 +69,7 @@ $ npm install node-hue-api
69
70
Node.js using yarn:
71
```
72
-$ yarn install node-hue-api
+$ yarn add node-hue-api
73
74
75
## v3 API
@@ -268,7 +268,7 @@ async function discoverAndCreateUser() {
268
const authenticatedApi = await hueApi.createLocal(ipAddress).connect(createdUser.username);
269
270
// Do something with the authenticated user/api
271
- const bridgeConfig = await authenticatedApi.configuration.get();
+ const bridgeConfig = await authenticatedApi.configuration.getConfiguration();
272
console.log(`Connected to Hue Bridge: ${bridgeConfig.name} :: ${bridgeConfig.ipaddress}`);
273
274
} catch(err) {
0 commit comments