Skip to content

[Feature Request] Reset Auto-Lock timer while door is open and restart on close #572

@caballinger

Description

@caballinger

Is your feature request related to a problem? Please describe.
No, I am simply looking for a different workflow. Currently, the Keymaster Auto-Lock countdown continues even if the door is open. If the timer expires while the door is open, relying on the existing "retry lock" feature means the deadbolt will often engage immediately after the door finally closes. This doesn't match the "lock X minutes after the door is closed" behavior I am trying to achieve (e.g., allowing a buffer during multiple moving trips so we don't have to unlock the door every time it temporarily closes).

Describe the solution you'd like
Add a native Keymaster toggle (per lock) such as: "Reset auto-lock timer when door opens." The logic should be:

  • Door Opens: Cancel/reset the active auto-lock countdown.
  • Door Closes: Restart the full countdown from zero (using the configured Day/Night delay).
  • Multiple Open/Close Events: Keep resetting the timer; only lock after a full, uninterrupted closed period.
  • Manual Lock: Cancel any pending countdown.

Describe alternatives you've considered

  • "Retry lock" feature: As mentioned, this helps ensure the lock eventually engages, but it triggers immediately upon closing rather than providing a true "full delay after closing" behavior.
  • Custom Home Assistant automations: This can approximate the behavior, but a Keymaster-native solution would be much cleaner, more reliable, and wouldn't require custom scripts.

Additional context
The core use case is shifting the auto-lock trigger from "N minutes after unlock" to "N minutes after the door is closed."

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions