Skip to content

udpate s60zbtpf/tpg and mini-zbdim#4745

Open
lcheng33775823 wants to merge 8 commits intozigpy:devfrom
lcheng33775823:dev
Open

udpate s60zbtpf/tpg and mini-zbdim#4745
lcheng33775823 wants to merge 8 commits intozigpy:devfrom
lcheng33775823:dev

Conversation

@lcheng33775823
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 73.03371% with 48 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.04%. Comparing base (86ead3f) to head (6101cfd).
⚠️ Report is 4 commits behind head on dev.

Files with missing lines Patch % Lines
zhaquirks/sonoff/minizbdim.py 71.05% 22 Missing ⚠️
zhaquirks/sonoff/s60zbtpf.py 74.50% 13 Missing ⚠️
zhaquirks/sonoff/s60zbtpg.py 74.50% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #4745      +/-   ##
==========================================
- Coverage   92.32%   92.04%   -0.28%     
==========================================
  Files         371      374       +3     
  Lines       12195    12373     +178     
==========================================
+ Hits        11259    11389     +130     
- Misses        936      984      +48     

☔ 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.

@TheJulianJES TheJulianJES added priority: medium This should be addressed or looked at soon manufacturer This request was made by the device's manufacturer labels Feb 10, 2026
Comment on lines +78 to +95
async def _read_attributes(
self,
attribute_ids: list[t.uint16_t],
*args,
manufacturer: int | t.uint16_t | None = None,
**kwargs,
):
"""Read attributes ZCL foundation command."""
return await super()._read_attributes(
attribute_ids,
*args,
manufacturer=foundation.ZCLHeader.NO_MANUFACTURER_ID,
**kwargs,
)

@property
def _is_manuf_specific(self):
return False
Copy link
Contributor

Choose a reason for hiding this comment

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

You can remove all of this code and just add manufacturer_code=None to every attribute definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manufacturer This request was made by the device's manufacturer priority: medium This should be addressed or looked at soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants