Add Matter lock provider for Matter-based locks#741
Draft
Conversation
|
For reference, I don't have any Matter-based locks myself but you can find a list of Works with Home Assistant certified locks here: Currently at this time there are locks that are WWHA certified:
|
f6042f9 to
26503f5
Compare
Add support for Matter locks by accessing python-matter-server's send_device_command API to call Door Lock cluster commands: - GetCredentialStatus to check if PIN codes exist - SetCredential to set PIN codes (base64 encoded) - ClearCredential to remove PIN codes Note: Matter's GetCredentialStatus only returns whether a credential exists, not the actual PIN value (returns "****" as placeholder). Also adds "matter" to after_dependencies in manifest. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26503f5 to
1143a8d
Compare
|
@raman325 For reference also see this new pull request by @Ahbrown41 for adding a initial Matter lock manager with Code/User Management to Home Assistant’s core: |
21 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed change
Adds support for Matter locks by accessing python-matter-server's
send_device_commandAPI. Uses Door Lock cluster (0x0101) commands:GetCredentialStatusto check if PIN codes existSetCredentialto set PIN codes (base64 encoded per Matter spec)ClearCredentialto remove PIN codesAlso adds "matter" to after_dependencies in manifest.
Important Limitation
Matter's
GetCredentialStatusonly returns whether a credential exists, not the actual PIN value. The provider returns "****" as a placeholder for existing codes, similar to how some Z-Wave locks behave with masked PINs.Type of change
Additional information
🤖 Generated with Claude Code