thomasloven / lovelace-template-entity-row

🔹 Display whatever you want in an entities card row.
MIT License
210 stars 16 forks source link

Time to retire secondaryinfo-entity-row? #12

Closed MizterB closed 3 years ago

MizterB commented 4 years ago

Looks like this new custom card provides the ability to override the secondary info with the flexibility of Jinja2 templates. Since my secondaryinfo-entity-row relies on your old 'custom' template engine in card-tools, have we finally reached a point where we should direct users to this more robust solution instead?

noxhirsch commented 4 years ago

That was my first thought, too - but at the moment the template-entity-row only works for sensors (and is missing more-info / tap-action) and does not work for entities with toggles or buttons.

iantrich commented 4 years ago

This should allow for the deprecation of it: https://github.com/home-assistant/home-assistant-polymer/pull/4704

MizterB commented 4 years ago

Even better. Glad to see this capability going native!

iantrich commented 4 years ago

we'll see if it gets approved ;)

Mariusthvdb commented 4 years ago

does not work for entities with toggles or buttons.

Yes, which is really a pity, since it does support the use of 'entity'. Did you already create a feature request for that, couldn't find it, sorry.

If not, might be a good idea to ask Thomas if he would welcome that?

btw, as I found out here, T-E-R doesn't show the unit_of_measurement by default for an entity with a Uom. Anyone here know how to do that?

noxhirsch commented 4 years ago

Did you already create a feature request for that, couldn't find it, sorry.

Here's the feature request for toggle support (none for button support so far): https://github.com/thomasloven/lovelace-template-entity-row/issues/4