Closed michikrug closed 8 months ago
As mentioned at https://community.openhab.org/t/oh3-color-light-bulb-and-google-assistant/129938/7, there is some confusion about the relationship between color temperatures and their percentage equivalent.
In the current implementation, the percent values are inverted before conversion to Kelvin. I honestly don't know why this was implemented this way.
To make this more intuitive, we remove the inversion and reflect low kelvin values to low percent values and vice versa.
As mentioned at https://community.openhab.org/t/oh3-color-light-bulb-and-google-assistant/129938/7, there is some confusion about the relationship between color temperatures and their percentage equivalent.
In the current implementation, the percent values are inverted before conversion to Kelvin. I honestly don't know why this was implemented this way.
To make this more intuitive, we remove the inversion and reflect low kelvin values to low percent values and vice versa.