Skip to content

Commit

Permalink
Set supported temperature range
Browse files Browse the repository at this point in the history
See #43
  • Loading branch information
ptz0n committed Dec 23, 2018
1 parent c660a7c commit 168a16b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/accessories/climatesensor.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class ClimateSensor extends VerisureAccessory {
this.temperatureService = new Service.TemperatureSensor(this.name);
this.temperatureService
.getCharacteristic(Characteristic.CurrentTemperature)
.setProps({ minValue: -40.0, maxValue: 60.0 })
.on('get', this.getCurrentPropertyValue.bind(this, 'temperature'));
services.push(this.temperatureService);
}
Expand Down

0 comments on commit 168a16b

Please sign in to comment.