Skip to content

Matter Window Covering: Ignore unchanged handling, stop motion on inverted scroll#3145

Open
hcarter-775 wants to merge 1 commit into
bugfix/report-movement-while-movingfrom
update/stateless-window-shade-handling
Open

Matter Window Covering: Ignore unchanged handling, stop motion on inverted scroll#3145
hcarter-775 wants to merge 1 commit into
bugfix/report-movement-while-movingfrom
update/stateless-window-shade-handling

Conversation

@hcarter-775

Copy link
Copy Markdown
Contributor

Description of Change

Do not send new commands to a device if no change is introduced, and if inversion is attempted while a device is moving, stop motion to revert state.

Summary of Completed Tests

Not tested on-device, I am not sure if this will need any tweaking to be a smooth experience.

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

matter-window-covering_coverage.xml

File Coverage
All files 88%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/closure_utils/utils.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/init.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/lazy_load_subdriver.lua 57%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/init.lua 78%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/closure_handlers/attribute_handlers.lua 86%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/closure_handlers/capability_handlers.lua 73%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against bd61feb

@github-actions

Copy link
Copy Markdown

Test Results

   73 files  ±0    538 suites  ±0   0s ⏱️ ±0s
3 235 tests ±0  3 235 ✅ ±0  0 💤 ±0  0 ❌ ±0 
5 221 runs  ±0  5 221 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit bd61feb. ± Comparison against base commit 09c8f10.

@tpmanley tpmanley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good but can you add a unit test too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants