From 0d0d0100899790eab9980701fcbe26207040464b Mon Sep 17 00:00:00 2001 From: Chris Tobolski Date: Wed, 12 Feb 2020 20:03:12 -0500 Subject: [PATCH] Minor readme fix for yarn installation and getting configuration without using deprecated method --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c2ea46..915e074 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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) {