Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Sinope custom attribute values #2963

Merged
merged 4 commits into from
Feb 4, 2024
Merged

Conversation

claudegel
Copy link
Contributor

@claudegel claudegel commented Feb 3, 2024

Proposed change

Add/fix some attributes value in manufacturer and thermostat clusters. Add battery_type attribute sensors.

Additional information

Just small changes

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

Copy link

codecov bot commented Feb 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (97d2734) 87.68% compared to head (e4c0d1f) 87.68%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2963   +/-   ##
=======================================
  Coverage   87.68%   87.68%           
=======================================
  Files         297      297           
  Lines        9084     9087    +3     
=======================================
+ Hits         7965     7968    +3     
  Misses       1119     1119           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TheJulianJES TheJulianJES changed the title Sinope devices fix for attributes values Fix Sinope custom attribute values Feb 4, 2024
@TheJulianJES TheJulianJES added the bugfix This PR fixes a bug label Feb 4, 2024
Copy link
Collaborator

@TheJulianJES TheJulianJES left a comment

Choose a reason for hiding this comment

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

Thanks!

@TheJulianJES TheJulianJES merged commit ab0d248 into zigpy:dev Feb 4, 2024
14 checks passed
@claudegel
Copy link
Contributor Author

I see that ZHA is creating sensors for attributes that are doing reporting. Can you point me on where to look to learn how to do that for my other components. Thank you

@claudegel claudegel deleted the Sinope-fix branch February 5, 2024 00:13
lgraf pushed a commit to lgraf/zha-device-handlers that referenced this pull request May 6, 2024
* Fix wrong definition for attribute values

* Add Partial_lock value for keypadLock

* Add battery_type attribute

* Add Partial_lock and Bedroom attributes values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants