Skip to content

v0.2.2

Choose a tag to compare

@EetuPelkonen EetuPelkonen released this 09 Sep 06:30
· 6 commits to main since this release

Narrows two percentage fields to int.

precipProb and cloudiness are whole numbers in every response: measured over 290 forecast steps across five climates, with no fractional value. thunderProb is not (46 of those 290 were fractional), so it stays a float.

Home Assistant's Forecast TypedDict declares precipitation_probability and cloud_coverage as int, so this lets an integration pass both straight through instead of rounding them on the way in.