homebridge-zwave-usb 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -309,9 +309,13 @@ class ControllerAccessory {
|
|
|
309
309
|
this.statusChar.updateValue(`Heal: ${done}/${total}`);
|
|
310
310
|
},
|
|
311
311
|
'heal network done': () => {
|
|
312
|
-
this.platform.log.info('Controller event: Heal Network Done');
|
|
312
|
+
this.platform.log.info('Controller event: Heal Network Done. Resetting UI switch.');
|
|
313
313
|
this.isHealActive = false;
|
|
314
|
-
|
|
314
|
+
// Use a slight delay to ensure HomeKit UI catches the state change correctly
|
|
315
|
+
setTimeout(() => {
|
|
316
|
+
this.healService.updateCharacteristic(this.platform.Characteristic.On, false);
|
|
317
|
+
this.platform.log.debug('Heal Network switch set to OFF');
|
|
318
|
+
}, 500);
|
|
315
319
|
},
|
|
316
320
|
};
|
|
317
321
|
for (const [event, handler] of Object.entries(this.handlers)) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-zwave-usb",
|
|
3
3
|
"displayName": "Homebridge Z-Wave USB",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.3",
|
|
5
5
|
"description": "A Homebridge dynamic platform plugin for Z-Wave USB controllers using zwave-js.",
|
|
6
6
|
"license": "Polyform-Noncommercial-1.0.0",
|
|
7
7
|
"funding": {
|