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

Add (hidden) energy cards to card picker #23499

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

karwosts
Copy link
Contributor

Proposed change

I would like to consider adding energy cards to be able to be easily selected in the card picker. It is cumbersome to have to go find and look up on external website to remember the specific card type string, and it limits discoverability for users who may not even realize that energy cards can be used.

That said, at the same time I realize these have more niche usage and I do not want to overpopulate the main cards list with a dozen new cards that will be just taking up unwanted space most of the time.

To compromise between the two points, I would suggest to add these to a separate list which can be collapsed by default in an expansion panel. This allows cards to be findable, without wasting too much space. It will also allow the cards to appear when users use the search option, instead of just searching for energy and getting a result that nothing exists.

I have not yet contributed descriptions for each of the cards. I will be willing to do so, but first just wanted to see if this approach is feasible before spending the time. Please let me know.

This change also adds expansion panels for each of the other card categories to be consistent. This could be nice for example when wanting to add a custom card, you can easily collapse the core cards to get to the bottom of the list faster.

E.g.:

energy-cards

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@bramkragten bramkragten added the Needs UX Pull requests requiring a review from the Home Assistant design team label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed Needs UX Pull requests requiring a review from the Home Assistant design team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Energy cards can't be added to a dashboard through the UI
2 participants