Skip to content

Add Tuya HOBEIAN ZG-204ZM presence sensor variant #4195

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

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

soosp
Copy link
Contributor

@soosp soosp commented Jul 17, 2025

Proposed change

This change add support to an another reincarnation of a ZG-204ZM Tuya presence sensor.

Additional information

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

Copy link

codecov bot commented Jul 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.30%. Comparing base (a24ba30) to head (93438cb).
⚠️ Report is 7 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #4195   +/-   ##
=======================================
  Coverage   91.30%   91.30%           
=======================================
  Files         340      340           
  Lines       10993    10993           
=======================================
  Hits        10037    10037           
  Misses        956      956           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Collaborator

@TheJulianJES TheJulianJES left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TheJulianJES TheJulianJES added the Tuya Request/PR regarding a Tuya device label Jul 30, 2025
@TheJulianJES TheJulianJES changed the title Add support for HOBEIAN ZG-204ZM presence sensor Add Tuya HOBEIAN ZG-204ZM presence sensor Jul 30, 2025
@TheJulianJES TheJulianJES changed the title Add Tuya HOBEIAN ZG-204ZM presence sensor Add Tuya HOBEIAN ZG-204ZM presence sensor variant Jul 30, 2025
@TheJulianJES TheJulianJES merged commit 3cc9f98 into zigpy:dev Jul 30, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants