Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Offset not working properly #17
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTheMan827 authored Mar 24, 2021
1 parent 0857d82 commit f54174c
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 @@ -32,7 +32,7 @@ function TemperatureAccessory(log, config) {
if (!err) {
this.service
.getCharacteristic(Characteristic.CurrentTemperature)
.updateValue(value);
.updateValue(value + this.offsetC);
}
}.bind(this));
}.bind(this),
Expand Down

0 comments on commit f54174c

Please sign in to comment.