Skip to content
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

Refactor SonoffPresenceSenorClusterHandler and add report configuration for SNZB-04P #345

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

mguaylam
Copy link
Contributor

@mguaylam mguaylam commented Jan 3, 2025

Refactor SonoffPresenceSenorClusterHandler to better represent devices using this cluster and add report configuration for the tamper attribute in the SNZB-04P.

Partly fixes : zigpy/zha-device-handlers#3308

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.49%. Comparing base (91cc37b) to head (f65ad65).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #345      +/-   ##
==========================================
- Coverage   96.50%   96.49%   -0.02%     
==========================================
  Files          61       61              
  Lines        9439     9440       +1     
==========================================
  Hits         9109     9109              
- Misses        330      331       +1     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Device Support Request] Sonoff SNZB-04p Zigbee Door/Window Sensor
1 participant