diff --git a/package.json b/package.json index bd18348..b55bbd6 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "request": "2.49.x", "sonos": "0.8.x", "telldus-live": "0.2.x", - "unofficial-nest-api": "0.1.x", + "unofficial-nest-api": "git+https://github.com/hachidorii/unofficial_nodejs_nest.git#d8d48edc952b049ff6320ef99afa7b2f04cdee98", "wemo": "0.2.x", "wink-js": "0.0.5", "xml2js": "0.4.x", diff --git a/platforms/Nest.js b/platforms/Nest.js index 117e4b8..414fcef 100644 --- a/platforms/Nest.js +++ b/platforms/Nest.js @@ -186,7 +186,6 @@ NestThermostatAccessory.prototype = { var targetTemperatureType = 'off'; switch(targetHeatingCooling) { case 0: - // this will crash unnofficial-node-api, it needs to be forked to accept the input targetTemperatureType = 'off'; break; case 1: