custom-cards / bignumber-card

Apache License 2.0
123 stars 23 forks source link

Feature Request: Entity reference in title #32

Open mitchsurp opened 2 years ago

mitchsurp commented 2 years ago

I use bignumber-card a lot, because it serves a great purpose for solar panel displays with BIG numbers. But one thing that's missing is the ability to reference another entity in title.

For example, I have input_text.max_kwh that is the high-water mark for my solar panels. I have another entity written every time this gets updated, input_text.max_date.

192 168 1

In this example, the (June 18, 2022) has to be input by-hand every time this value changes.

I can easily reference one or the other, but I'd like to include {{states.input_text.max_date.state}} into the title field so they both get updated at the same time.

mitchsurp commented 2 years ago

If anyone has the same question, I've replicated this with a vertical stack and card-mod, but it would still be a nice addition to bignumber-card.