From c3516f9f5056d25c35742bf7d2f39b4296cb2834 Mon Sep 17 00:00:00 2001 From: PatchworkBoy Date: Sat, 8 Feb 2020 16:11:11 +0000 Subject: [PATCH] Fix rogue StatusActive that should've been StatusFault... again, more coffee required. --- lib/domoticz_accessory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/domoticz_accessory.js b/lib/domoticz_accessory.js index bae8e6e..fb6a2d7 100755 --- a/lib/domoticz_accessory.js +++ b/lib/domoticz_accessory.js @@ -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;