SmartThingsCommunity / SmartThingsEdgeDrivers

Apache License 2.0
259 stars 446 forks source link

Matter Switch: add child profile overrides #1583

Closed ctowns closed 3 weeks ago

ctowns commented 3 weeks ago

Check all that apply

Type of Change

Checklist

Description of Change

CHAD-13811 Add the ability to override the child profile that would be assigned based on the child's device type. This is done because some devices have the "On/Off Plug" device type, but it would make more sense for them to appear with the switch icon as indicated in their WWST fingerprint.

Summary of Completed Tests

github-actions[bot] commented 3 weeks ago

Test Results

   61 files  ±0    375 suites  ±0   0s :stopwatch: ±0s 1 822 tests +1  1 822 :white_check_mark: +1  0 :zzz: ±0  0 :x: ±0  3 170 runs  +1  3 170 :white_check_mark: +1  0 :zzz: ±0  0 :x: ±0 

Results for commit bd532530. ± Comparison against base commit 2125c846.

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

github-actions[bot] commented 3 weeks ago

File Coverage
All files 94% :white_check_mark:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/init.lua 95% :white_check_mark:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/eve-energy/init.lua 91% :white_check_mark:

Minimum allowed coverage is 90%

Generated by :monkey: cobertura-action against bd532530cbf3c8a05684639c90f1bf10d1796e81

github-actions[bot] commented 3 weeks ago

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