Skip to content

Conversation

@HunsupJung
Copy link
Collaborator

@HunsupJung HunsupJung commented Aug 15, 2025

Type of Change

  • WWST Certification Request
    • If this is your first time contributing code:
      • I have reviewed the README.md file
      • I have reviewed the CODE_OF_CONDUCT.md file
      • I have signed the CLA
    • I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com
  • Bug fix
  • New feature
  • Refactor

Checklist

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have verified my changes by testing with a device or have communicated a plan for testing
  • I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change

The unnecessary mode capability for Run Mode cluster has been deleted.

Summary of Completed Tests

This feature is being tested with following TC in SVT.
https://smartthings.atlassian.net/wiki/spaces/STHK/pages/4088660856/REQ-22349+Matter+RVC+UX+Upgrade+TC

 - Integrate components
 - Remove mode capability for run mode cluster

Signed-off-by: HunsupJung <[email protected]>
Signed-off-by: HunsupJung <[email protected]>
@HunsupJung HunsupJung changed the title Feature/updating matter rvc ux Updating matter rvc ux Aug 15, 2025
@github-actions
Copy link

Duplicate profile check: Passed - no duplicate profiles detected.

@github-actions
Copy link

github-actions bot commented Aug 15, 2025

Channel deleted.

@github-actions
Copy link

github-actions bot commented Aug 15, 2025

Test Results

   69 files    449 suites   0s ⏱️
2 336 tests 2 336 ✅ 0 💤 0 ❌
3 929 runs  3 929 ✅ 0 💤 0 ❌

Results for commit 93942f6.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Aug 15, 2025

File Coverage
All files 73%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/ServiceArea/types/LandmarkInfoStruct.lua 59%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/ServiceArea/types/AreaInfoStruct.lua 59%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/ServiceArea/types/AreaStruct.lua 63%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/ServiceArea/types/SelectAreasStatus.lua 69%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/init.lua 89%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/embedded_cluster_utils.lua 72%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/Global/types/AreaTypeTag.lua 66%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/Global/types/LandmarkTag.lua 67%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/Global/types/RelativePositionTag.lua 68%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-rvc/src/Global/types/LocationDescriptorStruct.lua 63%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 93942f6

@HunsupJung HunsupJung force-pushed the feature/updating-matter-rvc-ux branch from d1c20d1 to df9744e Compare August 15, 2025 10:31
local function component_to_endpoint(device, component_name)
-- Use the find_default_endpoint function to return the first endpoint that
-- supports a given cluster.
return find_default_endpoint(device, clusters.RvcOperationalState.ID)
Copy link
Contributor

Choose a reason for hiding this comment

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

What does the endpoint structure typically look like for a RVC? Are the clusters usually all implemented on the same endpoint?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I not sure, but Roborock implements Power Source, RVC Run Mode, RVC Clean Mode, RVC Operational State, and Service Area on the endpoint 1.

@HunsupJung HunsupJung force-pushed the feature/updating-matter-rvc-ux branch from a5a6c42 to 97099e4 Compare September 2, 2025 09:40
@HunsupJung HunsupJung force-pushed the feature/updating-matter-rvc-ux branch from 97099e4 to 6cf2dfc Compare September 2, 2025 09:46
Copy link
Contributor

@hcarter-775 hcarter-775 left a comment

Choose a reason for hiding this comment

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

these are some initial comments/questions I have

Copy link
Contributor

@hcarter-775 hcarter-775 left a comment

Choose a reason for hiding this comment

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

lgtm!

@HunsupJung HunsupJung merged commit 7c83c6a into main Sep 15, 2025
12 checks passed
@HunsupJung HunsupJung deleted the feature/updating-matter-rvc-ux branch September 15, 2025 23:24
hcarter-775 pushed a commit that referenced this pull request Sep 16, 2025
hcarter-775 added a commit that referenced this pull request Sep 17, 2025
* Updating matter rvc ux (#2343)

Signed-off-by: HunsupJung <[email protected]>

* Update matter-rvc driver (#2400)

- Replace Embedded device configuration with Device presentation to support translation
 - If selected_area is empty, selecting all areas

Signed-off-by: HunsupJung <[email protected]>

* Update new-matter-lock driver to support Aliro feature (#2344)

Signed-off-by: Hunsup Jung <[email protected]>
Co-authored-by: Harrison Carter <[email protected]>

---------

Signed-off-by: HunsupJung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
Co-authored-by: HunsupJung <[email protected]>
hcarter-775 pushed a commit that referenced this pull request Sep 17, 2025
hcarter-775 added a commit that referenced this pull request Sep 17, 2025
…pport (#2406)

* Updating matter rvc ux (#2343)

Signed-off-by: HunsupJung <[email protected]>

* Update matter-rvc driver (#2400)

- Replace Embedded device configuration with Device presentation to support translation
 - If selected_area is empty, selecting all areas

Signed-off-by: HunsupJung <[email protected]>

* Update new-matter-lock driver to support Aliro feature (#2344)

Signed-off-by: Hunsup Jung <[email protected]>
Co-authored-by: Harrison Carter <[email protected]>

---------

Signed-off-by: HunsupJung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
Co-authored-by: HunsupJung <[email protected]>
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.

4 participants