@riddix/hamh 2.1.0-alpha.577 → 2.1.0-alpha.578
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
|
@@ -181012,6 +181012,11 @@ init_service();
|
|
|
181012
181012
|
|
|
181013
181013
|
// src/matter/endpoints/server-mode-vacuum-endpoint.ts
|
|
181014
181014
|
init_esm();
|
|
181015
|
+
|
|
181016
|
+
// ../../node_modules/.pnpm/@matter+main@0.16.10/node_modules/@matter/main/dist/esm/forwards/behaviors/rvc-run-mode.js
|
|
181017
|
+
init_nodejs();
|
|
181018
|
+
|
|
181019
|
+
// src/matter/endpoints/server-mode-vacuum-endpoint.ts
|
|
181015
181020
|
init_home_assistant_entity_behavior();
|
|
181016
181021
|
import debounce6 from "debounce";
|
|
181017
181022
|
|
|
@@ -181313,13 +181318,20 @@ var ServerModeVacuumEndpoint = class _ServerModeVacuumEndpoint extends EntityEnd
|
|
|
181313
181318
|
this.keepaliveCounter++;
|
|
181314
181319
|
const counter = this.keepaliveCounter;
|
|
181315
181320
|
logger203.info(`Keepalive #${counter} for ${this.entityId}`);
|
|
181316
|
-
const
|
|
181321
|
+
const opState = this.stateOf(RvcOperationalStateServer);
|
|
181317
181322
|
await this.setStateOf(RvcOperationalStateServer, {
|
|
181323
|
+
operationalState: opState.operationalState,
|
|
181318
181324
|
operationalError: {
|
|
181319
|
-
errorStateId:
|
|
181325
|
+
errorStateId: opState.operationalError.errorStateId,
|
|
181320
181326
|
errorStateDetails: `k${counter}`
|
|
181321
181327
|
}
|
|
181322
181328
|
});
|
|
181329
|
+
if (this.behaviors.has(RvcRunModeServer)) {
|
|
181330
|
+
const runMode = this.stateOf(RvcRunModeServer);
|
|
181331
|
+
await this.setStateOf(RvcRunModeServer, {
|
|
181332
|
+
currentMode: runMode.currentMode
|
|
181333
|
+
});
|
|
181334
|
+
}
|
|
181323
181335
|
logger203.info(`Keepalive #${counter} committed for ${this.entityId}`);
|
|
181324
181336
|
} catch (e) {
|
|
181325
181337
|
if (e instanceof TransactionDestroyedError || e instanceof DestroyedDependencyError) {
|
|
@@ -183984,6 +183996,7 @@ export {
|
|
|
183984
183996
|
@matter/main/dist/esm/forwards/clusters/rvc-clean-mode.js:
|
|
183985
183997
|
@matter/main/dist/esm/forwards/behaviors/rvc-operational-state.js:
|
|
183986
183998
|
@matter/main/dist/esm/forwards/clusters/rvc-operational-state.js:
|
|
183999
|
+
@matter/main/dist/esm/forwards/behaviors/rvc-run-mode.js:
|
|
183987
184000
|
@matter/main/dist/esm/forwards/clusters/level-control.js:
|
|
183988
184001
|
(**
|
|
183989
184002
|
* @license
|