SmartThingsCommunity / SmartThingsEdgeDrivers

Apache License 2.0
269 stars 462 forks source link

CHAD-14119: Add support for Extractor Hood On/Off light #1680

Open nickolas-deboom opened 1 month ago

nickolas-deboom commented 1 month ago

Type of Change

Checklist

Description of Change

CHAD-14119

Extractor Hoods can include the On/Off light in its device composition. This change adds a new fingerprint and new profiles to support this feature.

Summary of Completed Tests

This change was tested using custom firmware for a extractor hood + light device on a STM32, to verify that the correct profile is joined, the light capability displays and functions as expected, and the other extractor hood functionality works as expected.

Also see new unit tests in test_extractor_hood.lua.

github-actions[bot] commented 1 month ago

Duplicate profile check: Passed - no duplicate profiles detected.

github-actions[bot] commented 1 month ago

Invitation URL: https://bestow-regional.api.smartthings.com/invite/OzMgL41Zq729

github-actions[bot] commented 1 month ago

Test Results

   64 files    401 suites   0s ⏱️ 2 002 tests 2 002 ✅ 0 💤 0 ❌ 3 442 runs  3 442 ✅ 0 💤 0 ❌

Results for commit 1c5f945a.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 month ago

File Coverage
All files 74% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/matter-oven/init.lua 85% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/matter-dishwasher/init.lua 68% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/matter-extractor-hood/init.lua 97% :white_check_mark:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/init.lua 64% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/matter-laundry/init.lua 69% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/matter-microwave-oven/init.lua 82% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/matter-cook-top/init.lua 85% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/embedded-cluster-utils.lua 45% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-appliance/src/matter-refrigerator/init.lua 65% :x:

Minimum allowed coverage is 90%

Generated by :monkey: cobertura-action against 1c5f945ac7b142534f3fe7acfdfbcbbea850fdc0