-
Notifications
You must be signed in to change notification settings - Fork 519
Matter Window Covering: Remove default tilt preset #2565
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
Matter Window Covering: Remove default tilt preset #2565
Conversation
| local endpoint_id = device:component_to_endpoint(cmd.component) | ||
| local lift_eps = device:get_endpoints(clusters.WindowCovering.ID, {feature_bitmap = clusters.WindowCovering.types.Feature.LIFT}) | ||
| local tilt_eps = device:get_endpoints(clusters.WindowCovering.ID, {feature_bitmap = clusters.WindowCovering.types.Feature.TILT}) | ||
| if #lift_eps > 0 then |
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.
Note that this check isn't needed since any device using a profile with the windowShadePresetcapability supports the LIFT feature.
|
Channel deleted. |
Test Results 71 files 469 suites 0s ⏱️ Results for commit 631dc6c. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 3158029 |
Remove the default tilt preset level of 50%, which is not ideal for user experience.
631dc6c to
3158029
Compare
Remove the
GoToTiltPercentagecommand sent when thepresetPositioncapability command is received, which previously would set the tilt preset level to a default level of 50%. A new capability will be introduced later to support setting the tilt preset level.