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

[Feature]: Entities Card #1558

Open
2 tasks done
agnoam opened this issue Oct 10, 2024 · 2 comments
Open
2 tasks done

[Feature]: Entities Card #1558

agnoam opened this issue Oct 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@agnoam
Copy link

agnoam commented Oct 10, 2024

Requirements

  • I have updated Mushroom to the latest available version
  • I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?

Hey, I'm trying to convert this lovelace card into a mushroom alternative card.

image

I have managed to create such card:

image

But I can't find an easy way to create the switch at the top that toggles all the included lights (as signed in a red circle)

Describe the solution you'd like

A card of multiple entities, that will create the signed switch automatically.
Such as the one provided by the basic UI.

Describe alternatives you've considered

No response

Additional context

No response

@agnoam agnoam added the enhancement New feature or request label Oct 10, 2024
@BBE-FR
Copy link

BBE-FR commented Nov 8, 2024

You can replace the "my room" part by a new (since 2024.10) heading card and a group:

  • You add inside the heading card an entity being a group of your equipments below
  • You add the behavior to toggle the group to this entity
  • you add the entities below as mushroom or tiles

example with a section:

type: grid
cards:
  - type: heading
    heading: My Room
    heading_style: title
    badges:
      - type: entity
        show_state: false
        show_icon: true
        entity: group.lumieres_escalier
        color: state
        tap_action:
          action: toggle
  - type: tile
    entity: light.0x84b4dbfffec93621
  - type: tile
    entity: light.0x385b44fffe20eb24

2024-11-08_09-36-55

@CoryCharlton
Copy link

Additionally you can use the vertical-stack-in-card if you want to group all the cards into a single card.

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

No branches or pull requests

3 participants