Skip to content

Conversation

@bbollin
Copy link

@bbollin bbollin commented Jan 4, 2026

Proposed change

Migrates 'MLI ZBT-Remote-ALL-RGBW' to Quirks v2 and adds quirk for very similar 'MLI tint-Remote-white'

Additional information

Fixes #4298
implemented device automation triggers from @SimpleUserHA (SimpleUserHA@4e85a04)

Device diagnostics

zha-65b0bd4fb9032284773ce41e2eb4988b-MLI ZBT-ExtendedColor-b2f69fe517daa41d33f24c597985c03d.json
zha-65b0bd4fb9032284773ce41e2eb4988b-MLI tint-Remote-white-e56878a1f4dc08b174a959879490054a(1).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

bbollin and others added 2 commits January 4, 2026 15:49
Devices:
MLI
  - ZBT-Remote-ALL-RGBW
  - tint-Remote-white (added)

- implemented device automation triggers from @SimpleUserHA (SimpleUserHA@4e85a04)
- fixes zigpy#4298
@codecov
Copy link

codecov bot commented Jan 4, 2026

Codecov Report

❌ Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.29%. Comparing base (35d1fc1) to head (bc42294).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
zhaquirks/mli/tint.py 75.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #4619      +/-   ##
==========================================
+ Coverage   92.28%   92.29%   +0.01%     
==========================================
  Files         371      371              
  Lines       12158    12154       -4     
==========================================
- Hits        11220    11218       -2     
+ Misses        938      936       -2     

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

}

(
QuirkBuilder("MLI", "ZBT-Remote-ALL-RGBW")
Copy link
Contributor

Choose a reason for hiding this comment

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

Quirks can match multiple devices with .applies_to

Copy link
Author

Choose a reason for hiding this comment

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

Thank you for the suggestion, but I thought keeping the devices apart might be a good idea since the signatures are not exactly the same.

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.

[BUG] MLI Tint remote: Scene buttons no longer working

2 participants