Skip to content

Matter Ikea Scroll: Add rotation sensitivity preferences#3100

Open
hcarter-775 wants to merge 2 commits into
mainfrom
add/ikea-scroll-sensitivity-preference
Open

Matter Ikea Scroll: Add rotation sensitivity preferences#3100
hcarter-775 wants to merge 2 commits into
mainfrom
add/ikea-scroll-sensitivity-preference

Conversation

@hcarter-775

@hcarter-775 hcarter-775 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Description of Change

Add 3 preferences, one for each of the groups of the Ikea scroll. These associate with 1/2x, 1x, and 2x speeds for scrolling.

Summary of Completed Tests

Unit tests updated, on-device testing completed.

Normal:

2026-07-10T21:45:21.111301642Z INFO Matter Switch 7/10  <MatterDevice: 25d482c1-b156-4484-ac69-2c7c73fc0a7d [56A317AC8171B720-5ECE3FA18BBD0BB7] (BILRESA scroll wheel 1)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0xA0069, <InteractionInfoBlock || endpoint: 0x08, cluster: Switch, event: MultiPressOngoing, data: Structure: {Uint8: \x01, Uint8: \x05}>>]>
2026-07-10T21:45:21.122586809Z DEBUG Matter Switch 7/10  Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.ikea_scroll
2026-07-10T21:45:21.127720017Z INFO Matter Switch 7/10  <MatterDevice: 25d482c1-b156-4484-ac69-2c7c73fc0a7d [56A317AC8171B720-5ECE3FA18BBD0BB7] (BILRESA scroll wheel 1)> emitting event: {"attribute_id":"rotateAmount","capability_id":"knob","component_id":"group3","state":{"value":-30},"state_change":true}

Low:

2026-07-10T21:43:42.766384547Z INFO Matter Switch 7/10  <MatterDevice: 25d482c1-b156-4484-ac69-2c7c73fc0a7d [56A317AC8171B720-5ECE3FA18BBD0BB7] (BILRESA scroll wheel 1)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0xA002D, <InteractionInfoBlock || endpoint: 0x07, cluster: Switch, event: MultiPressOngoing, data: Structure: {Uint8: \x01, Uint8: \x06}>>]>
2026-07-10T21:43:42.776607130Z DEBUG Matter Switch 7/10  Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.ikea_scroll
2026-07-10T21:43:42.783366089Z INFO Matter Switch 7/10  <MatterDevice: 25d482c1-b156-4484-ac69-2c7c73fc0a7d [56A317AC8171B720-5ECE3FA18BBD0BB7] (BILRESA scroll wheel 1)> emitting event: {"attribute_id":"rotateAmount","capability_id":"knob","component_id":"group3","state":{"value":18},"state_change":true}

High:

2026-07-10T21:44:58.043820848Z INFO Matter Switch 7/10  <MatterDevice: 25d482c1-b156-4484-ac69-2c7c73fc0a7d [56A317AC8171B720-5ECE3FA18BBD0BB7] (BILRESA scroll wheel 1)> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, event number: 0xA0048, <InteractionInfoBlock || endpoint: 0x08, cluster: Switch, event: MultiPressOngoing, data: Structure: {Uint8: \x01, Uint8: \x05}>>]>
2026-07-10T21:44:58.054864681Z DEBUG Matter Switch 7/10  Found MatterMessageDispatcher handler in matter-switch -> sub_drivers.ikea_scroll
2026-07-10T21:44:58.061882764Z INFO Matter Switch 7/10  <MatterDevice: 25d482c1-b156-4484-ac69-2c7c73fc0a7d [56A317AC8171B720-5ECE3FA18BBD0BB7] (BILRESA scroll wheel 1)> emitting event: {"attribute_id":"rotateAmount","capability_id":"knob","component_id":"group3","state":{"value":-60},"state_change":true}

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Duplicate profile check: Passed - no duplicate profiles detected.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Test Results

   73 files    537 suites   0s ⏱️
3 181 tests 3 181 ✅ 0 💤 0 ❌
5 182 runs  5 182 ✅ 0 💤 0 ❌

Results for commit d1fb362.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

File Coverage
All files 92%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/camera/camera_utils/utils.lua 98%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/camera/camera_utils/device_configuration.lua 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/eve_energy/init.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/camera/init.lua 96%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/switch_handlers/capability_handlers.lua 92%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/switch_handlers/attribute_handlers.lua 80%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/switch_handlers/event_handlers.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/ikea_scroll/scroll_utils/event_utils.lua 52%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/ikea_scroll/init.lua 90%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/aqara_cube/init.lua 95%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/ikea_scroll/scroll_handlers/event_handlers.lua 75%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/switch_utils/embedded_cluster_utils.lua 38%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/switch_utils/device_configuration.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/switch_utils/utils.lua 92%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/camera/camera_handlers/capability_handlers.lua 84%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/camera/camera_handlers/attribute_handlers.lua 96%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/third_reality_garage_door/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/sub_drivers/third_reality_mk1/init.lua 93%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against d1fb362

@hcarter-775 hcarter-775 force-pushed the add/ikea-scroll-sensitivity-preference branch from a45f343 to d1fb362 Compare July 10, 2026 21:50
@hcarter-775 hcarter-775 added the CGAI Contains code that was generated by AI label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CGAI Contains code that was generated by AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants