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

Duplicate legend items when comparing energy data #24576

Open
4 tasks done
wilfredktlr opened this issue Mar 10, 2025 · 1 comment
Open
4 tasks done

Duplicate legend items when comparing energy data #24576

wilfredktlr opened this issue Mar 10, 2025 · 1 comment
Labels
Bug Current Bug in UI - Extra Attention panel: energy

Comments

@wilfredktlr
Copy link

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

When adding a section with an energy date selection card and energy devices detail graph card and then selecting the option to compare data the legend will also duplicate the legend items.

Image

Describe the behavior you expected

The legend should only show the item once.

Steps to reproduce the issue

Create a new section with the code below. Select the Compare data option.

type: grid
cards:
  - type: energy-date-selection
  - type: energy-devices-detail-graph

What version of Home Assistant Core has the issue?

2025.3.1

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

Google Chrome 133.0.6943.142

Which operating system are you using to run this browser?

Windows 11

State of relevant entities

Problem-relevant frontend configuration

Javascript errors shown in your browser console/inspector

Additional information

No response

@karwosts karwosts added Bug Current Bug in UI - Extra Attention panel: energy labels Mar 10, 2025
@wilfredktlr
Copy link
Author

This problem also applies to the main energy dashboard.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Current Bug in UI - Extra Attention panel: energy
Projects
None yet
Development

No branches or pull requests

2 participants