block lift ui during movement

This commit is contained in:
legop3
2026-04-30 00:57:20 -04:00
parent 09c7a0c813
commit a3067a06d9
6 changed files with 53 additions and 19 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const liftConfig = haConfig.lift || {};
const upSwitchId = String(liftConfig.upSwitch || '').trim();
const downSwitchId = String(liftConfig.downSwitch || '').trim();
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 9000);
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 15000);
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 25000);
const state = {
busy: false,