Skip to content

Conversation

@elupus
Copy link
Contributor

@elupus elupus commented Dec 3, 2025

  • Add event platform client clusters
  • Add LevelContro, On/Off, Color events for client clusters
  • Enabled handling of ClientClusterHandlers
  • Corrects naming of client cluster handlers

Depends on home-assistant/core#157853 for support in HA

@elupus elupus marked this pull request as draft December 3, 2025 14:57
@elupus
Copy link
Contributor Author

elupus commented Dec 3, 2025

Just noticed that #419 exists too. I think this is simpler and stands on the main standardized clusters.

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 97.50000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.32%. Comparing base (3adf2db) to head (71c527f).

Files with missing lines Patch % Lines
zha/application/platforms/event.py 96.96% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #594      +/-   ##
==========================================
+ Coverage   97.29%   97.32%   +0.02%     
==========================================
  Files          62       63       +1     
  Lines       10712    10790      +78     
==========================================
+ Hits        10422    10501      +79     
+ Misses        290      289       -1     

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

@elupus
Copy link
Contributor Author

elupus commented Dec 3, 2025

Btw. I've explicitly avoided some fixed structure here. Tried to keep the original cluster commands as is. Currently HA has very few devices classes for events, so the structure of the event data there has not given correct structure.

Given the above situation, inventing some in-between structure that isn't 1 to 1 mapped to zigbee spec seem pointless and only adds complexity.

@elupus elupus marked this pull request as ready for review December 3, 2025 15:46
@elupus
Copy link
Contributor Author

elupus commented Jan 31, 2026

So rebased on the new cluster rework. Must say it looks much cleaner and less complicated.

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.

2 participants