Skip to content

Commit

Permalink
Fix rogue StatusActive that should've been StatusFault... again, more…
Browse files Browse the repository at this point in the history
… coffee required.
  • Loading branch information
PatchworkBoy committed Feb 8, 2020
1 parent a329b62 commit c3516f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/domoticz_accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@ eDomoticzAccessory.prototype = {
if (this.batteryRef && this.batteryRef !== 255) {
this.gracefullyAddCharacteristic(additionalSensorService, Characteristic.StatusLowBattery).on('get', this.getLowBatteryStatus.bind(this));
}
this.gracefullyAddCharacteristic(additionalSensorService, Characteristic.StatusActive).on('get', this.getTimeout.bind(this));
this.gracefullyAddCharacteristic(additionalSensorService, Characteristic.StatusFault).on('get', this.getTimeout.bind(this));
this.services.push(additionalSensorService);
}
break;
Expand Down

0 comments on commit c3516f9

Please sign in to comment.