Skip to content

Commit

Permalink
fix #133
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Mar 24, 2019
1 parent 0e19343 commit cc0f978
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions homematic-devices/hmip-bwth.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,6 @@ module.exports = class HmipBwth extends Accessory {
updateHeatingCoolingState();
});

this.addService('BatteryService', config.name)
.get('StatusLowBattery', config.deviceAddress + ':0.LOWBAT', (value, c) => {
return value ? c.BATTERY_LEVEL_LOW : c.BATTERY_LEVEL_NORMAL;
})
.get('BatteryLevel', config.deviceAddress + ':0.OPERATING_VOLTAGE', this.percent);

if (this.option('HumiditySensor')) {
this.addService('HumiditySensor', config.name)
.get('CurrentRelativeHumidity', config.deviceAddress + ':1.HUMIDITY');
Expand Down

0 comments on commit cc0f978

Please sign in to comment.