-
Notifications
You must be signed in to change notification settings - Fork 53
fix: autolock timer persistence, race conditions, and throttle gaps #596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
raman325
merged 20 commits into
FutureTense:main
from
raman325:fix/594-autolock-timer-unknown
Apr 15, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
05df4f3
docs: add strategy config validation design
raman325 ff3ffd4
docs: add strategy config validation implementation plan
raman325 8c355c8
Merge remote-tracking branch 'upstream/main'
raman325 8d8416d
fix: start autolock timer when lock is already unlocked
raman325 ec4bdf7
refactor: persist autolock timer to HA Store for restart recovery
raman325 83c78f9
refactor: use UTC times in autolock timer via homeassistant.util.dt
raman325 6588a2e
fix: replace dual timer callbacks with single fire-then-cleanup callback
raman325 c94b4cf
refactor: make timer properties pure by delegating to is_running
raman325 24c64c0
style: apply ruff formatting
raman325 bf36e79
fix: cancel autolock timer when disabling autolock switch
raman325 786c171
fix: reset complementary throttle on lock/door state transitions
raman325 b8507c9
chore: remove docs/plans directory
raman325 10734d0
fix: address review feedback for timer setup and tests
raman325 18a58e6
refactor: rename duration to total_duration for clarity
raman325 7ef9749
Revert "refactor: rename duration to total_duration for clarity"
raman325 f6c5dee
fix: guard against corrupted timer store data on recovery
raman325 316b741
refactor: add TimerStoreEntry TypedDict for precise store typing
raman325 72ee58a
refactor: inline timer_id in _setup_timer
raman325 12281cf
test: add coverage for timer persistence edge cases, throttle resets,…
raman325 15ddb40
style: apply ruff formatting to test_helpers.py
raman325 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.