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

Rollup beta to production #1868

Merged
merged 22 commits into from
Jan 13, 2025
Merged

Rollup beta to production #1868

merged 22 commits into from
Jan 13, 2025

Conversation

cjswedes
Copy link
Contributor

No description provided.

dljsjr and others added 22 commits December 18, 2024 17:22
The mirek (or mired) to kelvin conversion can suffer from precision
mismatches that can lead to computed Kelvin values slightly above
the expected maximum in certain situations.

The platform convention is to clamp to steps of 100, so we implement
that here when converting from the color temp value we get from the
Hue API in to the Kelvin value we use on the platform.
This was some of the first code I wrote for the Hue driver, and I had
a misunderstanding of the `min_dimming` property returned by the API.

The `min_dimming` value in the API is informative, and represents a percent
of the total lumens the device is capable of outputting that you will get
if you request the lowest possible brightness for the bulb (1%).

We were interpreting it as a lower bound on the values to send, which is
not correct.

This PR removes the lower bound checks, and instead clamps all dimming commands
to the range of [1,100] inclusive.
…ps-hue-dimming-range

Hue: Remove incorrect dimming lower bound logic.
- Mostly updates type hints/annotations
- Fix one place where typechecks caught a missing nil check
Using `ipairs` here instead of `pairs` meant that any devices
that ended up in this queue were never actually being refreshed.

Fixes #1674
…n-remote-reliability

Hue: Fix multi-component device initialization race condition
Signed-off-by: zhou chengyu <[email protected]>
Co-authored-by: Alissa Dornbos <[email protected]>
Signed-off-by: zhou chengyu <[email protected]>
Co-authored-by: Alissa Dornbos <[email protected]>
This commit is adding 4 new fingerprints, and moving the AiDot fingerprint section to be in alphabetical order.
* Re-org and also adding two fingerprints

* update all actions/upload-artifacts ocurrances to v4

---------

Co-authored-by: Harrison Carter <[email protected]>
Co-authored-by: Harrison Carter <[email protected]>
A fingerprint is misaligned by one space, causing formatting to fail.
Copy link

github-actions bot commented Jan 13, 2025

Channel deleted.

Copy link

Test Results

   64 files    402 suites   0s ⏱️
2 004 tests 2 004 ✅ 0 💤 0 ❌
3 458 runs  3 458 ✅ 0 💤 0 ❌

Results for commit 4dc339e.

Copy link

matter-lock_coverage.xml

File Coverage
All files 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/new-matter-lock/init.lua 90%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/init.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/lock_utils.lua 98%

matter-switch_coverage.xml

File Coverage
All files 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/new-matter-lock/init.lua 90%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/init.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/lock_utils.lua 98%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/aqara-cube/init.lua 96%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/embedded-cluster-utils.lua 38%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/eve-energy/init.lua 91%

matter-thermostat_coverage.xml

File Coverage
All files 83%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/new-matter-lock/init.lua 90%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/init.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/lock_utils.lua 98%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/aqara-cube/init.lua 96%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/embedded-cluster-utils.lua 38%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-switch/src/eve-energy/init.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/init.lua 85%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/embedded-cluster-utils.lua 42%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 4dc339e

@cjswedes cjswedes merged commit 3455539 into production Jan 13, 2025
15 checks passed
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.

8 participants