piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.63k stars 333 forks source link

Add a "name & state" option for the content of the entity chips cards #303

Open cromelex opened 2 years ago

cromelex commented 2 years ago

I want to use a few chip cards showing the battery % for a couple of entities. Using a chip entity card, I can only display the name or the percentage, not both at the same time. If I have 2 different entities, I can either look at the icon (which is dynamic for battery) and show the state, or only have the stage populated and not know exactly what entity it relates to.

I would like to be able to select a "name & state" for the content dropdown. This could just display the 2 items like "name"&"state", ie: Name: Device1 and State: 50% to display as "Device1 50%". By keeping the name field editable, people could add a separator if needed, ie "Device1 :" to display "Device1 : 50%".

I have considered using the template chip, but the icon for the battery entities updates at every 10%, ie it is dynamic. To avoid losing that feature, I would have to add all those steps to the template.

Thanks

joaovitoriasilva commented 2 years ago

I would also love this implemented. Thanks

jlbphotos commented 2 years ago

yes please, great idea 👍 )