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]: Name + State as content in Entity Chip card #1483

Open
2 tasks done
joe-sydney opened this issue Aug 3, 2024 · 8 comments
Open
2 tasks done

[Feature]: Name + State as content in Entity Chip card #1483

joe-sydney opened this issue Aug 3, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@joe-sydney
Copy link

joe-sydney commented Aug 3, 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?

In some cases, I would like to see both the entity name and state in the entity chip card as there may be several entities with the same icon. Currently, we can choose name OR state, not both.

Describe the solution you'd like

The new Home Assistant replacement for "badges" provides is ability, and it would be good to replicate that into the mushroom entity chip card.

Describe alternatives you've considered

No response

Additional context

No response

@joe-sydney joe-sydney added the enhancement New feature or request label Aug 3, 2024
@joe-sydney joe-sydney reopened this Aug 8, 2024
@piitaya
Copy link
Owner

piitaya commented Aug 13, 2024

Badges have been introduced as many users are using mushroom chips for their dashboard. May I know why you still want to use mushroom chips?

@joe-sydney
Copy link
Author

joe-sydney commented Aug 13, 2024

Initially, I thought that the new badges (together with the template badge) would be able to replace the existing mushroom chips- hence you have seen that I closed the request. But I re-opened this request when I found that the new badges continued to be only available at the top of the view (ie where the old badges were). However, I am using chips in the rest of the dashboard (ie not just the top), and perhaps I didn't look hard enough, but I couldn't find a way convert those chips into the new badges.

As an additional note, I used to use the custom badge-card, but I also found that the conversions of those badges did not occur as expected. I believe there is an existing open issue on that as well (can't remember on which github).

@piitaya
Copy link
Owner

piitaya commented Aug 13, 2024

Thank you for the additional information.
I'm also working at Nabu Casa and I'm looking to bring badges at the top of each sections too. It's hard to bring all the feature we add in Home Assistant to Mushroom because I have to basically do the work twice so I try to merge all the best feature of Mushroom into Home Assistant.

Could you share screenshots of your dashboard to see where there are displayed? 🙂

@joe-sydney
Copy link
Author

Understand, perhaps the new badges can be made general so they can be placed anywhere, like the current mushroom chips. Below is one example where I use it, together with auto-entities.
image

@WarC0zes
Copy link

WarC0zes commented Aug 13, 2024

Hi
I'm interested in adding the name + state for the chips too.

exemple :
image

image

@shbatm
Copy link

shbatm commented Aug 21, 2024

I'd like to add to this: specifically I would like to see the "Label" section of the new Badges brought to the Chips. It would be nice to see something like this:

image

@piitaya - With regards to the base Badge functionality in HA vs maintaining the Chips, I still use Chips in the different sections for things that don't apply to the whole dashboard view, so I love the idea to extend Badges to the new Sections view!

image

Here's a second example just for sharing of how I had my Room Sections set-up before the Sections view:
image
(mushroom title card and chip card customized in a stack-in-card).

@BBE-FR
Copy link

BBE-FR commented Oct 9, 2024

@piitaya the new header card introduced in 2024.10 can be very versatile for this usage.

image

It would be very nice to be capable to have an advanced (mushroom?) version of it, with templating capabilities for the icon/title/subtitle + use of a templatable "entities" like the very efficient mushroom badges.

several FR are related to this both:

I have the impression based on all our interactions that the "template" part will remain a advanced feature implemented only on mushroom side...

@kineticscreen
Copy link

kineticscreen commented Nov 17, 2024

May I know why you still want to use mushroom chips?

Ultimately because I like being able to use card_mod to alter the look of chips. If I could do this with badges I would probably be able to move them all across. However as it is I have to use a combination, choosing whether to have the option of Labels, or custom formatting.

image

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

6 participants