Yevgenium / weather-chart-card

Custom weather card with charts
MIT License
275 stars 81 forks source link

Precision of pressure #90

Closed backcountrymountains closed 2 years ago

backcountrymountains commented 2 years ago

The default precision of the pressure reading from OpenWeatherMap is a bit high. I was wondering if you could round it down a bit.

I just installed the card and with the default settings of the card and the values from OpenWeatherMap, my pressure is '29.500450184547606 hPa' I'm impressed with the ability of the OpenWeatherMap people to measure barometric pressure at an apparently molecular level, but it somewhat clutters the card.

Not really an issue, but I wanted to thank you for making the card; it's great!

fmonday commented 2 years ago

Have noticed this as well- OWM is providing the data in hPa and doing the math of converting it to mmHg but without rounding.

Yevgenium commented 2 years ago

Fixed in 1.2.0