reptilex / tesla-style-solar-power-card

Home assistant power card mimicking the one tesla provides for the powerwall app.
211 stars 59 forks source link

Feature Request - Add option to move decimal point #117

Open Shammy01011101 opened 2 years ago

Shammy01011101 commented 2 years ago

Hi there. I like this card quite alot. However I noticed it only shows 1 decimal place. For example, my house normally uses about 837W of power, and this card shows it as 0.8kW. I would like it if I can have two decimal places so that the card shows it as 0.84kW, or even better, three decimal places so that it shows 0.837kW.

Most people are probably happy with just one decimal place, so an option to specify this would be great.

Thanks.

reptilex commented 2 years ago

The problem is space, if we do this we need to make the size of the fonts changeable, and then things get complicated.