thomasloven / lovelace-auto-entities

🔹Automatically populate the entities-list of lovelace cards
MIT License
1.19k stars 111 forks source link

Hide state from an entity card #402

Open EinSchwerd opened 7 months ago

EinSchwerd commented 7 months ago

Is it possible to hide the state of an entity when shown by this card? I'm using the card to list the number of doors/windows left open. As there is no automated action, I use this as a reminder to close windows before leaving home. I want to hide the state displayed for each entity as it is surplus information and it eats into my precious screen real estate. I tried adding a parameter in the card: section but it does not do anything.

ildar170975 commented 7 months ago

Post a screenshot of what you need.

BebeMischa commented 7 months ago

is it not easier to make a group of all your door/windows sensors and display the state of the group? Takes only one line on the dashboard... ;-)

EinSchwerd commented 7 months ago

image

I have two lists displaying which doors and windows are open. I would not like to have "Open" for every entity displayed as that is the filter criteria, if it is not open it will not be on the list.

ildar170975 commented 7 months ago

Ether use card-mod to hide a "state" label or a custom:template-entity-row to define (or hide) a state manually. Details in the dedicated auto-entities Community thread. Suggest to ask questions there & leave Github for reporting bugs & proposing FRs.