Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick fixes for matter switch limit reads #1307

Closed
wants to merge 5 commits into from

Conversation

ctowns
Copy link
Contributor

@ctowns ctowns commented Apr 5, 2024

Cherry-picking the commits from #1304 into beta

nickolas-deboom and others added 5 commits April 5, 2024 15:55
This commit addresses minor issues discovered after PR 1220 was merged
into main.
It was decided that if values read from the device are outside of the
supported capability range, that the capability should not be sent
rather than sending the capability with default values.
Resolving error resulting from luacheck.
Add comment for level range conversion that was removed by accident.
Adds a "sane" color temp range that will be used to determine
if range data received from a device is "sane" or not. If not, the
values are discarded.

Adds a default color range of 2200K-6500K for color temp profiles.
Copy link

github-actions bot commented Apr 5, 2024

Duplicate profile check: Warning - duplicate profiles detected.
light-color-level.yml == light-color-level-2200K-6500K.yml
light-level-colorTemperature.yml == light-level-colorTemperature-2200K-6500K.yml

Copy link

github-actions bot commented Apr 5, 2024

Test Results

   56 files    362 suites   0s ⏱️
1 736 tests 1 736 ✅ 0 💤 0 ❌
3 028 runs  3 028 ✅ 0 💤 0 ❌

Results for commit e9ad9b3.

Copy link

github-actions bot commented Apr 5, 2024

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

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against e9ad9b3

@ctowns
Copy link
Contributor Author

ctowns commented Apr 8, 2024

Closing this in favor or merging main to beta here #1311

@ctowns ctowns closed this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants