-
Notifications
You must be signed in to change notification settings - Fork 11
Add Zigbee2MQTT lock provider for MQTT-based locks #740
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
base: main
Are you sure you want to change the base?
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
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