add firstled-io_M4S4BAC#2971
Conversation
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Invitation URL: |
Test Results 72 files 511 suites 0s ⏱️ Results for commit 29ea878. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 29ea878 |
d0d3e68 to
09fa419
Compare
cjswedes
left a comment
There was a problem hiding this comment.
Test failures will need to be resolved prior to merging.
| { visibility = { displayed = false } })) | ||
|
|
||
| device:send(cluster_base.write_manufacturer_specific_attribute(device, | ||
| PRIVATE_CLUSTER_ID, PRIVATE_ATTRIBUTE_ID, MFG_CODE, data_types.Uint8, 0x01)) -- private |
There was a problem hiding this comment.
I dont really know what this attribute write does, but is it something that should be done in device init? The difference being it would be written anytime the hub restarts or the driver is updated
There was a problem hiding this comment.
Looks like this was moved to infoChanged to handle preference changes. It seems like it might still be needed in the added handler so that the initial preference default value is written.
There was a problem hiding this comment.
When the device is entering the pairing process, it will restore the data to the default values, and both ends will have the same default values.
09fa419 to
2b92e15
Compare
2b92e15 to
29ea878
Compare
|
Can code coverage be improved in |
| -- Create Button if necessary | ||
| local button_amount = get_button_amount(device) | ||
| if button_amount >= 1 then | ||
| for i = children_amount+1,children_amount + button_amount, 1 do |
There was a problem hiding this comment.
| for i = children_amount+1,children_amount + button_amount, 1 do | |
| for i = children_amount + 1, children_amount + button_amount, 1 do |
Check all that apply
Type of Change
Checklist
Description of Change
Summary of Completed Tests