add MultiIR Smoke Detector MIR-SM200#2874
Conversation
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Channel deleted. |
Test Results 72 files 503 suites 0s ⏱️ Results for commit 7dc18b7. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 7dc18b7 |
0fbd389 to
d907021
Compare
d907021 to
e509e7b
Compare
| } | ||
| ) | ||
|
|
||
| test.run_registered_tests() No newline at end of file |
There was a problem hiding this comment.
nit: add newline to EOF
| if zone_status:is_alarm1_set() then | ||
| device:emit_event(capabilities.smokeDetector.smoke.detected()) | ||
| elseif zone_status:is_alarm2_set() then | ||
| device:emit_event(capabilities.smokeDetector.smoke.tested()) |
There was a problem hiding this comment.
This is included in the capability definition of the smoke detector. It is also required in the Test Suite test items. If this is not added, the test will fail.
There was a problem hiding this comment.
I understand that the "tested" variation is a part of the smokeDetector capability, I guess my question is if it is hooked up correctly, since the spec shows a different bit that could be used to indicate it is being tested. Did you validate the test functionality with a real device? Its fine if this is how it works, I just wanted to confirm, since its not how I would expect after reading the spec.
Edit: Sorry, I am a bit new to reviewing WWST PRs. I was able to find the test results you are referencing, and since it passes, LGTM.
|
All new files are executable, and should be updated to be only read/write |
e509e7b to
ae4fce4
Compare
ae4fce4 to
03dc986
Compare
Co-authored-by: Carter Swedal <carter.swedal@smartthings.com>
Co-authored-by: Carter Swedal <carter.swedal@smartthings.com>

Check all that apply
Type of Change
Checklist
Description of Change
Summary of Completed Tests