Use supported_color_modes to determine what UI elements to show#8961
Use supported_color_modes to determine what UI elements to show#8961
supported_color_modes to determine what UI elements to show#8961Conversation
supported_color_modes to determine what to UI to showsupported_color_modes to determine what UI elements to show
|
Related #7956 and the linked issues/discussions. What do we do with those points? |
|
Hi @bramkragten with this change how will the frontend show the white brightness? will it use 0-255 or 0-100%? The bellow are just suggestions or for better understanding, not mandatory:
Currently Shelly integration has two modes of operation for color bulbs/devices:
As far as I know Deconz integration works in a similar way. I am going to make a PR to adjust Shelly to support this changes. |
|
I had a similar thought a few days ago: For a Kelvin based temperature value (from cold to warm) currently I get a weird value shown on the slider. It is neither from 0...100% nor is it Kelvin (2600K to 6000K in my case as defined in the used integration). Haven't investigated yet, but might be related to this PR. |
It is mired, what is used inside HA https://en.wikipedia.org/wiki/Mired I personally would prefer Kelvin, as it is more widely used. |
It currently is 0-225, but yeah I kinda agree.
Yes
If the user chooses a color or a color temperature, that will be sent to the backend.
This will stay the same.
👍 |
| // use these properties to update the state via attributes | ||
| desiredRgbColor: { | ||
| type: Object, | ||
| observer: "applyRgbColor", |

Proposed change
TODO: CLEANUP!
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: