Skip to content
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

Don't error when a lock is unavailable. #54

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Don't error when a lock is unavailable. #54

merged 1 commit into from
Apr 11, 2023

Conversation

dknowles2
Copy link
Owner

When a lock is unavailable (e.g. hasn't checked in with the cloud API for a while), there are a few values that are not returned by the API. We need to properly account for this when converting from JSON into our data type.

This helps fix dknowles2/ha-schlage#56

When a lock is unavailable (e.g. hasn't checked in with the cloud
API for a while), there are a few values that are not returned by the
API. We need to properly account for this when converting from JSON into
our data type.
@dknowles2 dknowles2 added the bug Something isn't working label Apr 11, 2023
@dknowles2 dknowles2 merged commit 6e95175 into main Apr 11, 2023
@dknowles2 dknowles2 deleted the unavailable branch April 11, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retrying setup: 'batteryLevel'
1 participant