Skip to content

Commit

Permalink
Merge pull request #37 from b2un0/master
Browse files Browse the repository at this point in the history
 fix humidity maxValue
  • Loading branch information
lucacri authored Jan 10, 2019
2 parents d7aba7d + 6e495bb commit 9beb2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ HttpTemphum.prototype = {
this.humidityService = new Service.HumiditySensor(this.name);
this.humidityService
.getCharacteristic(Characteristic.CurrentRelativeHumidity)
.setProps({ minValue: 0, maxValue: 200 })
.setProps({ minValue: 0, maxValue: 100 })
.on("get", this.getHumidityState.bind(this));
services.push(this.humidityService);
}
Expand Down

0 comments on commit 9beb2bb

Please sign in to comment.