From 99186547fd28341f5a80c2892e23e55bbd60007e Mon Sep 17 00:00:00 2001 From: Ben <43026681+bwp91@users.noreply.github.com> Date: Fri, 21 Jul 2023 23:06:39 +0100 Subject: [PATCH] 9.2.1 --- CHANGELOG.md | 3 ++- lib/device/hub-leak.js | 2 ++ lib/utils/lang-en.js | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b45e3c3..38470fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to homebridge-meross will be documented in this file. -## BETA +## 9.2.1 (2023-07-21) ### Added @@ -14,6 +14,7 @@ All notable changes to homebridge-meross will be documented in this file. ### Fixed +- Leak device status - Initialisation issue with roller device with location devices ## 9.2.0 (2023-07-18) diff --git a/lib/device/hub-leak.js b/lib/device/hub-leak.js index 5248bee..2aeeb0a 100644 --- a/lib/device/hub-leak.js +++ b/lib/device/hub-leak.js @@ -59,6 +59,7 @@ export default class { this.service.updateCharacteristic(this.hapChar.LeakDetected, 1); this.accessory.eveService.addEntry({ status: 1 }); this.cacheLeak = 1; + this.accessory.log(`${platformLang.curLeak} [yes]`); } break; } @@ -68,6 +69,7 @@ export default class { this.service.updateCharacteristic(this.hapChar.LeakDetected, 0); this.accessory.eveService.addEntry({ status: 0 }); this.cacheLeak = 0; + this.accessory.log(`${platformLang.curLeak} [no]`); } break; } diff --git a/lib/utils/lang-en.js b/lib/utils/lang-en.js index d61584e..ad3aff3 100644 --- a/lib/utils/lang-en.js +++ b/lib/utils/lang-en.js @@ -20,6 +20,7 @@ export default { curHeat: 'current heating', curHumi: 'current humidity', curInUse: 'current in use', + curLeak: 'current leak', curLightBright: 'current light brightness', curLightColour: 'current light colour (hs/rgb)', curLightMode: 'current light mode',