better improve

This commit is contained in:
legop3
2026-04-29 22:47:55 -04:00
parent 5654702e51
commit d7057289ab
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ const liftConfig = haConfig.lift || {};
const upSwitchId = String(liftConfig.upSwitch || '').trim();
const downSwitchId = String(liftConfig.downSwitch || '').trim();
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 4000);
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 3000);
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 9000);
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 15000);
const state = {
busy: false,