nervetattoo / banner-card

A fluffy banner card for Home Assistant 🥰
MIT License
609 stars 57 forks source link

Precision for sensors #150

Open tanker11 opened 2 years ago

tanker11 commented 2 years ago

I would like to request to handle template in values or even better if there would be a specific precision defined indicating how many digits will be shown from a sensor value. Like: precision0 -> 21°C precsison1 -> 21,4°C precsison2 -> 21,43°C

(If not yet already solved.)

christiaangombert commented 1 year ago

Home assistant has a precision setting for every value (since 2023.3). But this banner card does not follow the precision set in home assistant.

Nekmo commented 1 year ago

Any news on this?

Screenshot_20230822_115730

staglech commented 1 year ago

Any news on this?

Screenshot_20230822_115730

I would be interested in news about this topic as well. I have ThermalComfort in place and would like to display the absolute humidity of a room in a row. Works quite good, except the fact that the precision set for the entity doesn't seem to be applied in this card. image

If i add a default card, the value is displayed correctly: image

Is there a way to influence how many decimal digits are being displayed, except the one on the entity (which is set to 2 digits)?

thehijacker commented 11 months ago

Another vote for this. It doesn't honor precision settings.

marelvis commented 8 months ago

Has someone solved this problem?

kkrankall commented 5 months ago

This would be a great update.

gabimal commented 3 months ago

Any update on this @nervetattoo?