Skip to content

Commit

Permalink
Fix the #68 - Part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Jun 10, 2020
1 parent 1f489b7 commit 2691eb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/tcc.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ tcc.prototype._UpdateThermostat = function(desiredState) {
})["soap:Envelope"]["soap:Body"].ChangeThermostatUIResponse.ChangeThermostatUIResult;
// debug("_UpdateThermostat", ChangeThermostat);
if (ChangeThermostat.Result === "Success") {
debug("Success: _UpdateThermostat %s", ChangeThermostat);
debug("Success: _UpdateThermostat %s", ChangeThermostat, message);
resolve(ChangeThermostat.CommTaskID);
} else {
this.sessionID = null;
Expand Down Expand Up @@ -641,6 +641,7 @@ function systemSwitch(desiredState, thermostat) {
state = thermostat.device.UI.SystemSwitchPosition;
}

thermostat.device.UI.SystemSwitchPosition = state;
return (state);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-tcc",
"version": "0.2.3",
"version": "0.2.4",
"description": "Honeywell Total Connect Comfort support for Homebridge: https://github.com/nfarina/homebridge",
"license": "ISC",
"keywords": [
Expand Down

0 comments on commit 2691eb7

Please sign in to comment.