Skip to content

Commit

Permalink
Merge pull request #9 from NorthernMan54/minimum-target-temperature-
Browse files Browse the repository at this point in the history
Minimum Target Temperature
  • Loading branch information
bwdeleeuw authored Nov 6, 2016
2 parents 8b3e0ce + 3102c37 commit a45d809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ tccThermostatAccessory.prototype = {
targetTemperature = toCelsius(targetTemperature);
break;
}
if (targetTemperature < 10)
targetTemperature = 10;
callback(null, Number(targetTemperature));

},
Expand Down

0 comments on commit a45d809

Please sign in to comment.