Skip to content

Conversation

@3reality-support
Copy link
Contributor

Proposed change

This PR added added 2 additional private clusters
1.total_cycle_times: The large curtain descends from the top tightening point to the bottom, and then rises to the top tightening point in a loop. The total number of cycles is how many times this behavior can be cycled, and the battery will run out of power. The maximum power failure of 81 inch curtains after 220 cycles is 210 times, so this attribute value defaults to 210 times.
2.last_remaining_battery_percentage: The percentage of battery remaining from the last time the curtain was powered on until the power was cut off. Calculated based on the distance traveled by the curtains and the maximum distance they can travel.

Additional information

Device diagnostics

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

@codecov
Copy link

codecov bot commented Nov 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.24%. Comparing base (928268c) to head (7c011be).
⚠️ Report is 2 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #4482   +/-   ##
=======================================
  Coverage   92.24%   92.24%           
=======================================
  Files         369      369           
  Lines       12094    12096    +2     
=======================================
+ Hits        11156    11158    +2     
  Misses        938      938           

☔ 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 the manufacturer This request was made by the device's manufacturer label Nov 13, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants