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

Add support for color temperature in Mired & Use separate identifier for SpecialColorLight #337

Merged
merged 3 commits into from
Aug 12, 2022

Conversation

michikrug
Copy link
Collaborator

This PR adds support for color temperature values in Mired.

For using Mired you will be able to state colorUnit="mired" in the SpecialColorLight item metadata config.
If colorUnit is not defined it defaults to percent and will still require you to set a colorTemperatureRange.

In addition, the identifier for the SpecialColorLight was changed to SpecialColorLight to prevent wrong device assignments for special group configurations.

⚠️ This introduces breaking changes:

  • ga="light" for SpecialColorLight is replaced by ga="specialcolorlight"
  • useKelvin=true is replaced by colorUnit="kelvin"

Should solve #316 and #334

Signed-off-by: Michael Krug <michi.krug@gmail.com>
Signed-off-by: Michael Krug <michi.krug@gmail.com>
Signed-off-by: Michael Krug <michi.krug@gmail.com>
@michikrug michikrug requested a review from marziman as a code owner April 2, 2022 22:00
@michikrug michikrug merged commit 4cba21e into openhab:main Aug 12, 2022
@michikrug michikrug deleted the pr-mired branch October 27, 2022 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant