-
Notifications
You must be signed in to change notification settings - Fork 484
Matter RVC: Add mode id to supported_modes field #2108
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
Conversation
Channel deleted. |
Test Results 66 files ±0 425 suites ±0 0s ⏱️ ±0s Results for commit 61b325e. ± Comparison against base commit d773c03. This pull request removes 1 test.
♻️ This comment has been updated with latest results. |
Minimum allowed coverage is Generated by 🐒 cobertura-action against 61b325e |
@@ -175,10 +175,10 @@ local function run_mode_supported_mode_handler(driver, device, ib, response) | |||
end | |||
if tag ~= 0xFFFF then | |||
table.insert(supported_modes, mode.elements.label.value) | |||
table.insert(supported_modes_with_tag, {mode.elements.label.value, tag}) | |||
table.insert(supported_modes_id_tag, { mode.elements.label.value, mode.elements.mode.value, tag }) |
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.
Is it possible to turn this into a table so it's a bit more clear? Like { label = mode.elements.label.value, <etc...> }
?
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.
The suggestion looks good to me. I will modify it.
Signed-off-by: Hunsup Jung <[email protected]>
66db547
to
9bd03dc
Compare
Signed-off-by: Gene Harvey <[email protected]>
Signed-off-by: Gene Harvey <[email protected]>
c2f9d30
to
61b325e
Compare
@gharveymn |
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.
Looks good! Thanks for the adjustments. You can just squash my commits into yours.
Type of Change
Checklist
Description of Change
https://smartthings.atlassian.net/browse/IOTE-5115
Summary of Completed Tests
https://smartthings.atlassian.net/browse/IOTE-5115