home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.11k stars 2.81k forks source link

Grey Energy dashboard device color is indistinguishable from untracked color #22251

Open dieugab opened 1 month ago

dieugab commented 1 month ago

Checklist

Describe the issue you are experiencing

The new color system doesn't work when a device gets assigned the grey color and is then near indistinguishable from the grey 'untracked' color

Describe the behavior you expected

Color should be differentiated from the untracked color.

Steps to reproduce the issue

  1. Add x amount of devices to the Energy dashboard
  2. Look at the Individual devices detail usage graph

What version of Home Assistant Core has the issue?

2024.10.1

What was the last working version of Home Assistant Core?

2024.9

In which browser are you experiencing the issue with?

Safari 18.0 (20619.1.26.31.6)

Which operating system are you using to run this browser?

macOS Sequoia (15.0)

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

Screenshot 2024-10-05 at 16 04 10
dasfuu commented 1 month ago

As seen in my now closed issue: the color order in the energy dashboard is not optimal. Not only shouldn't there be no two shades of grey, but the biggest consumers should get assigned the "primary"(first few) colors.

karwosts commented 1 month ago

but the biggest consumers should get assigned the "primary"(first few) colors.

Currently the colors are assigned by the order of the device in the device list, not sorted by consumption.

The reason for this is that I think you want consistency of color, so that the same device is always the same color. If colors were sorted by consumption, then the color of a given device would jump around and change each day (as its consumption changed), which I think would be confusing.

dasfuu commented 1 month ago

The reason for this is that I think you want consistency of color, so that the same device is always the same color. If colors were sorted by consumption, then the color of a given device would jump around and change each day (as its consumption changed), which I think would be confusing.

Doesn't this only matter when you compare different time ranges? In that case I would always use the most current data of each device. Then it might only change if a user visits the energy dashboard on a different day.

Or let users more easily order the device list on the energy dashboard. But that is not always the best default then.

Still love the energy dashboard, and everyone is doing a great job. Just want to share my thoughts :)

ReneTrippen commented 1 month ago

Not only the grey one is hard to read, i got a lot of different shades of green

image

Before 2024.10, there was a lot more of variety

image

So, maybe a switch for the "old" colors would be nice :)