-
Notifications
You must be signed in to change notification settings - Fork 484
Matter Thermostat: add support for modular profiles #2084
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: main
Are you sure you want to change the base?
Conversation
Invitation URL: |
Minimum allowed coverage is Generated by 🐒 cobertura-action against 10b1fce |
|
||
local function match_profile(driver, device) | ||
-- must use profile switching on older hubs | ||
if version.api < 14 and version.rpc < 7 then |
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.
I think this should be an or, if either one is too low we use a static profile
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.
Good catch - I updated this to an or
instead, and I also left a note to update the RPC version to 8 once that gets into a build since I bumped the version number for the sake of tracking modular profile support 👍
Duplicate profile check: Passed - no duplicate profiles detected. |
components: | ||
- id: main | ||
capabilities: | ||
- id: airPurifierFanMode |
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 the order of the capabilities going to match the order in existing profiles?
Check all that apply
Type of Change
Checklist
Description of Change
Summary of Completed Tests