Add Zigbee2MQTT lock provider for MQTT-based locks#740
Draft
Add Zigbee2MQTT lock provider for MQTT-based locks#740
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (21.49%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #740 +/- ##
==========================================
- Coverage 96.04% 90.28% -5.77%
==========================================
Files 29 30 +1
Lines 2554 2768 +214
Branches 83 83
==========================================
+ Hits 2453 2499 +46
- Misses 101 269 +168
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
d3a56ac to
76f9b50
Compare
Add support for Zigbee2MQTT locks by publishing/subscribing to MQTT topics. This enables user code management for locks exposed via Zigbee2MQTT: - Detects Zigbee2MQTT devices by their device identifiers (zigbee2mqtt_*) - Uses MQTT publish to set/clear PIN codes - Subscribes to device topic for push updates - Polls via MQTT get requests with async response handling Maps to the "mqtt" domain in INTEGRATIONS_CLASS_MAP since Zigbee2MQTT devices appear as MQTT entities in Home Assistant. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
for more information, see https://pre-commit.ci
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
…n checks (#794) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
76f9b50 to
53f4146
Compare
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 Zigbee2MQTT locks by publishing/subscribing to MQTT topics. This enables user code management for locks exposed via Zigbee2MQTT:
zigbee2mqtt_*)zigbee2mqtt/{friendly_name}/setMaps to the "mqtt" domain in INTEGRATIONS_CLASS_MAP since Zigbee2MQTT devices appear as MQTT entities in Home Assistant.
Also adds "mqtt" to after_dependencies in manifest.
Type of change
Additional information
🤖 Generated with Claude Code