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

Support grouping of entries #318

Open
andreas-bulling opened this issue Oct 9, 2023 · 5 comments
Open

Support grouping of entries #318

andreas-bulling opened this issue Oct 9, 2023 · 5 comments

Comments

@andreas-bulling
Copy link

It would be great if one could "group" entities and the group could be given a single label shown above the values. Let's say, for example, I want to show the power and current currently coming from our solar system on the roof and I want to use a single label "Roof" for both.

@ildar170975
Copy link

Check already existing solutions like fold-entity-row (which may work with m-e-r easily).

@Arman-GeDon
Copy link

Check already existing solutions like fold-entity-row (which may work with m-e-r easily).

Can you show an example of yaml: fold-entity-row with m-e-r together?
Thx

@ildar170975
Copy link

ildar170975 commented Oct 25, 2023

изображение

type: entities
entities:
  - type: custom:fold-entity-row
    head:
      type: custom:multiple-entity-row
      entity: sun.sun
    entities:
      - sun.sun
      - sun.sun

@andreas-bulling
Copy link
Author

This is not exactly what I had in mind - I meant that groups of two or more entities are shown (without having to unfold them) but with one (centered) label above them.

@ildar170975
Copy link

Then care to provide a DETAILED description of your FR including a draft picture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants