diff --git a/lib/ZwaveClient.ts b/lib/ZwaveClient.ts index de64fd7fc44..0ebca46a12c 100644 --- a/lib/ZwaveClient.ts +++ b/lib/ZwaveClient.ts @@ -569,6 +569,7 @@ export type ZwaveConfig = { maxFiles?: number logLevel?: LogManager.LogLevel commandsTimeout?: number + sendToSleepTimeout?: number enableStatistics?: boolean disclaimerVersion?: number options?: ZWaveOptions @@ -2115,6 +2116,7 @@ class ZwaveClient extends TypedEventEmitter { }, timeouts: { report: this.cfg.higherReportsTimeout ? 10000 : undefined, + sendToSleep: this.cfg.sendToSleepTimeout, }, userAgent: { [pkgjson.name]: pkgjson.version, diff --git a/src/stores/base.js b/src/stores/base.js index 97b2f808183..5f9d46fe25f 100644 --- a/src/stores/base.js +++ b/src/stores/base.js @@ -21,6 +21,7 @@ const useBaseStore = defineStore('base', { port: '/dev/zwave', allowBootloaderOnly: false, commandsTimeout: 30, + sendToSleepTimeout: 250, logLevel: 'debug', rf: { region: undefined, diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 1683659f869..facbe01d51c 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -789,6 +789,19 @@ type="number" > + + +