-
Notifications
You must be signed in to change notification settings - Fork 522
Add support for Irrigation System device type #2684
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
base: main
Are you sure you want to change the base?
Conversation
This adds support for the Irrigation System device type, introduced with Matter 1.5.
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Invitation URL: |
Test Results 71 files 481 suites 0s ⏱️ For more details on these errors, see this check. Results for commit 00cad14. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 00cad14 |
|
|
||
| SwitchFields.operational_state_command_map = { | ||
| [clusters.OperationalState.commands.Pause.ID] = "pause", | ||
| [clusters.OperationalState.commands.Resume.ID] = "resume" |
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 only pause and resume (and not start or stop) are supported for Irrigation System by the spec
| capabilities: | ||
| - id: valve | ||
| version: 1 | ||
| - id: level |
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 in 66bf122 I reimplemented level as an optional capabilty in this profile (as well as added flowSensor + operationalState). I think this makes sense but let me know if you agree with this approach or not
system This commit adds support for optional clusters: * OperationalState * FlowMeasurement Additionally, the level, operationalState, and flowSensor capabilities are supported via modular profiling.
66bf122 to
00cad14
Compare
This adds support for the Irrigation System device type, introduced with Matter 1.5.