Skip to content

Conversation

franortiz
Copy link

Proposed change

Add TS011F Circuit Breaker with Metering

Additional information

Implements support for #3044 Tongou TO-Q-SY2-JZT and other variants

Device diagnostics

People in #2652 and #3044 are using it without any issue. I personally use 3 of them for a year in a real environment.

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

Copy link

codecov bot commented Aug 15, 2025

Codecov Report

❌ Patch coverage is 42.10526% with 55 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.64%. Comparing base (6213bef) to head (482bfd5).
⚠️ Report is 20 commits behind head on dev.

Files with missing lines Patch % Lines
zhaquirks/tuya/ts011f_breaker.py 42.10% 55 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #4267      +/-   ##
==========================================
- Coverage   92.05%   91.64%   -0.41%     
==========================================
  Files         350      351       +1     
  Lines       11601    11696      +95     
==========================================
+ Hits        10679    10719      +40     
- Misses        922      977      +55     

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

@franortiz franortiz marked this pull request as draft August 15, 2025 16:02
@TheJulianJES TheJulianJES added Tuya Request/PR regarding a Tuya device needs reviewer answer An answer from a reviewer is needed (e.g. why a PR isn't acceptable in the current state). labels Aug 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reviewer answer An answer from a reviewer is needed (e.g. why a PR isn't acceptable in the current state). Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants