Skip to content

Conversation

@elupus
Copy link
Contributor

@elupus elupus commented Nov 30, 2025

Some weird devices have OnOff clusters with only partial attributes. Tuya
remotes are one such device where both input and output endpoints have the OnOff
cluster added. Events go on outputs, manufacture attributes go on input.

Some weird devices have OnOff clusters
with only partial attributes. Tuya
remotes are one such device.
@elupus elupus force-pushed the tuya/switch_supported branch from 4b925d4 to 5298684 Compare November 30, 2025 22:22
@codecov
Copy link

codecov bot commented Nov 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.99%. Comparing base (7d24475) to head (b57adc1).
⚠️ Report is 3 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #591   +/-   ##
=======================================
  Coverage   96.98%   96.99%           
=======================================
  Files          63       63           
  Lines       10559    10565    +6     
=======================================
+ Hits        10241    10247    +6     
  Misses        318      318           

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

@puddly
Copy link
Contributor

puddly commented Dec 2, 2025

The OnOff attribute of the OnOff cluster is listed as mandatory in the ZCL spec. I'm thankful they at least explicitly marked it as unsupported 😄.

@puddly puddly merged commit 50e9624 into zigpy:dev Dec 2, 2025
9 checks passed
@elupus elupus deleted the tuya/switch_supported branch December 2, 2025 21:03
@elupus
Copy link
Contributor Author

elupus commented Dec 2, 2025

Sometimes you get lucky :)

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