custom-cards / bar-card

Customizable Animated Bar card for Home Assistant Lovelace
MIT License
379 stars 54 forks source link

[feature request] Allow using separate sensors as values for Max, Min and Target #141

Open julianrinaldi opened 2 years ago

julianrinaldi commented 2 years ago

I have a bar that I'd like to display information about a sensor where the Max and Target change daily. It doesn't seem possible to add a templated sensor to the config. Being able to add sensors in place of a static number would be great.

jlambert121 commented 1 year ago

If you're still looking for a solution to this, I wooking for this as well and found https://github.com/custom-cards/bar-card/issues/124 (how to use config-template-card), https://github.com/custom-cards/bar-card/issues/88 (that it was removed in favor of config-template-card) and about 5 other issues asking for this. I just searched all issues for "target" (which was what I was looking for).

ZhenyaRUS39 commented 1 year ago

These ways don't work Max/Min values ​​are updated once and no longer updated when values ​​change.