Skip to content

Add support for HOBEIAN ZG-101ZL button - #5274

Open
gvfarns wants to merge 1 commit into
zigpy:devfrom
gvfarns:add-hobeian-zg101zl
Open

Add support for HOBEIAN ZG-101ZL button#5274
gvfarns wants to merge 1 commit into
zigpy:devfrom
gvfarns:add-hobeian-zg101zl

Conversation

@gvfarns

@gvfarns gvfarns commented Aug 24, 2026

Copy link
Copy Markdown

Proposed change

Add a Quirks v2 definition for the HOBEIAN ZG-101ZL single-button
Zigbee remote.

The device sends the following On/Off cluster commands:

  • Single press: toggle
  • Double press: on
  • Long press: off

The quirk maps these to short press, double press, and long press
device automation triggers respectively.

Additional information

Tested with a physical HOBEIAN ZG-101ZL using ZHA. With the quirk
applied, ZHA identifies the three actions as Remote Button Short Press,
Remote Button Double Press, and Remote Button Long Press.

Fixes #4413

Device diagnostics

zha-01KZP61FYF98BBDKSQ0CDCDN9D-HOBEIAN ZG-101ZL-a2a1f487d60d056f113bff9f86b5a10c.json

Checklist

  • The changes are tested and work correctly
  • pre-commit checks pass / the code has been formatted using Black
  • Tests have been added to verify that the new code works
  • Device diagnostics data has been attached

@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.60%. Comparing base (b139f81) to head (a8cd712).
⚠️ Report is 2 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #5274   +/-   ##
=======================================
  Coverage   92.60%   92.60%           
=======================================
  Files         424      425    +1     
  Lines       14667    14670    +3     
=======================================
+ Hits        13582    13585    +3     
  Misses       1085     1085           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zigpy-review-bot zigpy-review-bot added bot: needs changes PR needs changes per LLM bot: 2.0 migration done PR is on the ZHA/quirks 2.0.0 API (migrated or written for 2.0) per LLM new quirk Adds support for a new device Tuya Request/PR regarding a Tuya device bot: needs maintainer PR does something questionable that needs a maintainer decision per LLM bot: small PR PR is small per LLM labels Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: needs changes PR needs changes per LLM bot: needs maintainer PR does something questionable that needs a maintainer decision per LLM bot: small PR PR is small per LLM bot: 2.0 migration done PR is on the ZHA/quirks 2.0.0 API (migrated or written for 2.0) per LLM new quirk Adds support for a new device Tuya Request/PR regarding a Tuya device

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Device Support Request] HOBEIAN ZG-101ZL

2 participants