@riddix/hamh 2.1.0-alpha.571 → 2.1.0-alpha.573
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.
package/dist/backend/cli.js
CHANGED
|
@@ -181312,10 +181312,9 @@ var ServerModeVacuumEndpoint = class _ServerModeVacuumEndpoint extends EntityEnd
|
|
|
181312
181312
|
await super.delete();
|
|
181313
181313
|
}
|
|
181314
181314
|
/**
|
|
181315
|
-
*
|
|
181316
|
-
*
|
|
181317
|
-
*
|
|
181318
|
-
* guaranteeing matter.js emits attrsChanged → subscription report.
|
|
181315
|
+
* Force a non-empty subscription report by writing a unique
|
|
181316
|
+
* errorStateDetails to the RvcOperationalState cluster via
|
|
181317
|
+
* setStateOf (the same path used by all matter.js state updates).
|
|
181319
181318
|
*
|
|
181320
181319
|
* errorStateDetails (id 2) has conformance "O" (always optional)
|
|
181321
181320
|
* unlike errorStateLabel (id 1) which requires errorStateId 128-191.
|
|
@@ -181325,13 +181324,12 @@ var ServerModeVacuumEndpoint = class _ServerModeVacuumEndpoint extends EntityEnd
|
|
|
181325
181324
|
this.keepaliveCounter++;
|
|
181326
181325
|
const counter = this.keepaliveCounter;
|
|
181327
181326
|
logger203.info(`Keepalive #${counter} for ${this.entityId}`);
|
|
181328
|
-
|
|
181329
|
-
|
|
181330
|
-
|
|
181331
|
-
|
|
181332
|
-
errorStateId,
|
|
181327
|
+
const currentError = this.stateOf(RvcOperationalStateServer).operationalError;
|
|
181328
|
+
await this.setStateOf(RvcOperationalStateServer, {
|
|
181329
|
+
operationalError: {
|
|
181330
|
+
errorStateId: currentError.errorStateId,
|
|
181333
181331
|
errorStateDetails: `k${counter}`
|
|
181334
|
-
}
|
|
181332
|
+
}
|
|
181335
181333
|
});
|
|
181336
181334
|
logger203.info(`Keepalive #${counter} committed for ${this.entityId}`);
|
|
181337
181335
|
} catch (e) {
|