piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.71k stars 340 forks source link

[Feature]: Entities Card #1558

Open agnoam opened 1 month ago

agnoam commented 1 month ago

Requirements

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

BBE-FR commented 1 week ago

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

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