SmartThingsCommunity / SmartThingsEdgeDrivers

Apache License 2.0
268 stars 461 forks source link

Add support for Inovelli VTM31-SN Dimmer Switch #1754

Open nickolas-deboom opened 1 week ago

nickolas-deboom commented 1 week ago

Type of Change

Checklist

Description of Change

CHAD-14347

This change adds support for the Inovelli VTM31-SN Dimmer Switch. Initial support for this device was added by PR 1663. This PR includes a profile for this device with embedded preferences as well as handling for these preferences.

The preferences were created to match those defined in Inovelli's matter driver for this device.

Summary of Completed Tests

See here for screenshots from testing with the device. Also see test_matter_multi_button_switch_mcd.lua which tests a mock device with a similar endpoint structure as the Inovelli device.

github-actions[bot] commented 1 week ago

Duplicate profile check: Passed - no duplicate profiles detected.

github-actions[bot] commented 1 week ago

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

github-actions[bot] commented 1 week ago

Test Results

   64 files  ±0    401 suites  ±0   0s ⏱️ ±0s 1 999 tests ±0  1 999 ✅ ±0  0 💤 ±0  0 ❌ ±0  3 439 runs  ±0  3 439 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit f48add6a. ± Comparison against base commit 98b7d7dc.

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

github-actions[bot] commented 1 week ago

File Coverage
All files 92% :white_check_mark:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/inovelli-vtm31-sn/init.lua 47% :x:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/init.lua 96% :white_check_mark:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/aqara-cube/init.lua 96% :white_check_mark:
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/embedded-cluster-utils.lua 38% :x:
/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 f48add6a343298a9606cbb69acf9a513cb8a9cfb