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
+1 -1
View File
@@ -84,7 +84,7 @@ async function raiseLift() {
const idleActions = [ const idleActions = [
turnOffRoomControls, turnOffRoomControls,
dockAllRovers, // dockAllRovers,
disableAllRoverNightVision, disableAllRoverNightVision,
sendNeatoHome, sendNeatoHome,
raiseLift, raiseLift,
+2 -2
View File
@@ -21,8 +21,8 @@ const liftConfig = haConfig.lift || {};
const upSwitchId = String(liftConfig.upSwitch || '').trim(); const upSwitchId = String(liftConfig.upSwitch || '').trim();
const downSwitchId = String(liftConfig.downSwitch || '').trim(); const downSwitchId = String(liftConfig.downSwitch || '').trim();
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 4000); const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 9000);
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 3000); const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 15000);
const state = { const state = {
busy: false, busy: false,