-
Notifications
You must be signed in to change notification settings - Fork 902
Add Third Reality curtain_gen1 settings #4378
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
base: dev
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #4378 +/- ##
=======================================
Coverage 92.12% 92.13%
=======================================
Files 358 359 +1
Lines 11917 11928 +11
=======================================
+ Hits 10979 10990 +11
Misses 938 938 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| .write_attr_button( | ||
| attribute_name=ThirdRealityCurtainCluster.AttributeDefs.allow_bind.name, | ||
| attribute_value=0x01, | ||
| cluster_id=ThirdRealityCurtainCluster.cluster_id, | ||
| translation_key="allow_bind", | ||
| fallback_name="Allow bind", | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "Allow bind" do exactly? Is this related to cluster binding or to curtains being bound?
Does the device reset the value from 1 to 0 itself after this button is pressed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After writing 1, wait for 3 minutes until the end, and this value will become 0

Proposed change
This PR added adaptation code for curtain_gen1 and added 2 additional private clusters
Additional information
Device diagnostics
Checklist
pre-commitchecks pass / the code has been formatted using Black