Skip to content

Conversation

jcam
Copy link
Contributor

@jcam jcam commented Oct 5, 2025

The previous version of the gamma correction function didn't correct the gamma of the individual color channels, instead it was correcting the gamma only on the overall brightness.

This new algorithm, which borrows some logic from the ESPHome gamma implementation, resolves this and now colors on the bulbs match the selected colors.

@jcam
Copy link
Contributor Author

jcam commented Oct 5, 2025

As noted in #1822 this currently does not utilize rgb_bright_min or cw_bright_min.

@openshwprojects openshwprojects merged commit 883e85e into openshwprojects:main Oct 6, 2025
56 checks passed
Copy link

github-actions bot commented Oct 6, 2025

🎉 This PR is included in version 1.18.189 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants