-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Improve default favorite color temps and colors #29231
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
base: dev
Are you sure you want to change the base?
Conversation
|
I totally agree, I just gave up after 4/80 lights of wanting to do exactly this! |
|
@dhoeben "exactly this" being those five specific color temperatures or which part do you mean? |
That the defaults are off and that this is the fix that makes it easy for me. In stead of editing all 85 of my lights |
|
@dhoeben I'm just asking for specifics to make the job of the UX team easier. After all, it's less about this specific solution and more about what the specific user pains are, what they'd want/expect, how big those are, etc. Conceivably, what I've proposed here might actually not solve this at the root. But to find that out we need the raw data and not the derived measures 🙂 |
|
Hmm. Would a + in a hypothetical third row also work, or would that be too much? I would personally prefer to by default have all colors available |
|
well, that would be a different design solution, a third row is too much and we might need to see how it works out... why would you rather have all those colors as default? I would have assumed 7 defaults is already okay-ish |
|
Hmm but that third row is how it is right now? It only appears in that edit mode, but then that's how that works.
Yes and no. It definitely is! But it is not just discoverability but also the sensible defaults like I wrote. "What I want", as described right at the top would be "sensible color temperature defaults" + "color presets that utilize the full spectrum of my RGB light". Dropping green would no longer achieve the second thing. But I do of course see your worries there regarding not wanting to overload the whole view. |
I agree on this, for what it's worth. If we look at the climate entity, that more info popup is very bottom heavy as well for airconditioning units which can heat as well. |


Proposed change
Today, I found myself wondering why I didn't really use the favorite colors feature.
I've asked around and heard the same from other people, so I thought that it would be worth looking into.
The answer I arrived at eventually was "Because it doesn't offer what I actually want".
When plotted, I've noticed that the colors provided do only cover a very limited subset of the color wheel:

The Kelvin generation in the prior config (for a light with 2000-6500k capability) ended up with

with the standard 2700k nowhere to be found.
So what would I actually want?
For colors, a more even distribution, so that the defaults allow me to test all the capabilities of my lights.

These are the ones I've settled on, but I don't have any strong feelings about them. Any other set with an equal coverage would be fine.
For color temperature, I wanted the minimum the light can do, the maximum the light can do and common presets (2700, 4000,5500). So the code now does that if the light has that spectrum, and if not, it synthesizes some middle steps to fill up the total preset count.

That ends up looking like this for a light that can do 2000-6500k
To achieve this, I've raised the number of favorites to 5 each and also raised the width to fit the 5:
(Color temps and color order in this screenshot are not what the code in the PR generates, but from an earlier state)
I'd say it's fine. It's a bit more bottom-heavy now, but I'd argue it's worth it.
Additionally, I've noticed and fixed this

which was technically correct, but likely confusing to less technical users.
And, finally, nothing seems to have used
formatTempColoranymore?So now it's gone.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: