briis / smartweather

WeatherFlow Smart Weather Component for Home Assistant
MIT License
110 stars 11 forks source link

Forecast -> precipitation should be null instead of 0 when there's none #45

Closed scstraus closed 3 years ago

scstraus commented 3 years ago

All the other weather platforms send null instead of 0 when there's no precipitation. Sending a 0 causes some problems with some cards like the custom weather card chart card. Any chance you could change it to null like the other weather platforms?

briis commented 3 years ago

Sure thing. I wasn't even aware of that. But just checked a few Weather Integrations and you are right. I'll make the change.

briis commented 3 years ago

V2.0.5 released. Please close this issue if it now delivers the expected data..

scstraus commented 3 years ago

Wow, kickass! That was fast! Seems to have worked. Testing a bit more with the weather card now. Thanks!