I forked unofficial-nest-api and added support for 'off'.

For now the package location has been changed to reflect this. I've submitted a pull request but it doesn't look like it's been touched in a while so I'm not sure it's going to get merged.
This commit is contained in:
Chloe Stars
2015-07-17 18:29:23 -07:00
parent e76269fcdc
commit 511b1873f7
2 changed files with 1 additions and 2 deletions

View File

@@ -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",

View File

@@ -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: