Adding support for Hager WAASYS devices#2858
Conversation
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Invitation URL: |
Test Results 73 files 516 suites 0s ⏱️ Results for commit d08ddc4. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against d08ddc4 |
|
One way in which I think we could quickly simplify some of the Hager subdriver would be by require-ing some fields and functions from the main driver, and changing their inputs as necessary in the overriden driver, rather than rewriting everything completely from scratch. |
46b4bc2 to
1373485
Compare
hcarter-775
left a comment
There was a problem hiding this comment.
Thank you for implementing more of the pre-existing functionality. At this point, my main concern is with the way this device intersects with the main driver, all of which I've commented on at this point. As far as I can tell, we may not really have to interact with the main driver at all, and if so that would be my preference, to not include as many vendor checks in otherwise generic-ish code.
eae58ac to
ea664a3
Compare
| @@ -1,4 +1,4 @@ | |||
| -- Copyright © 2025 SmartThings, Inc. | |||
There was a problem hiding this comment.
Fixed. Thank you.
| device:set_field(fields.COMPONENT_TO_ENDPOINT_MAP, component_map, {persist = true}) | ||
| end | ||
|
|
||
|
|
There was a problem hiding this comment.
Since I'm already making suggestions, let's remove the extra line?
There was a problem hiding this comment.
I have already removed 159th line. I'm not sure If this is still relevant.
4fa8d9f to
d11f453
Compare
ef0035d to
139d305
Compare
hcarter-775
left a comment
There was a problem hiding this comment.
There are two more minor comments that should be addressed imo, otherwise LGTM!
|
And reminder, make sure to squash your commits before merging. Thanks! |
2a5117d to
7a6bee8
Compare
5559008 to
912c0c8
Compare
912c0c8 to
d08ddc4
Compare
Check all that apply
Type of Change
Checklist
Description of Change
Summary of Completed Tests
Tests performed on the physical device.