Fix for #3345 - precipitation probability not displayed when it is 0%#3346
Fix for #3345 - precipitation probability not displayed when it is 0%#3346rejas merged 3 commits intoMagicMirrorOrg:developfrom
Conversation
Treat zero values as valid data for Precipitation Probability.
|
Sorry for not reviewing earlier... Might it be possible that you write a test for this? |
I am willing, but in all honesty I have never written an automated test so there is going to be a bit of a learning curve. If I could be directed to something existing I can base it off of that would be appreciated. |
You can take a look at |
|
Merging this so the next release has it. If you find the time @vppencilsharpener you can always add a test later ;-) |
|
Thanks for your job but since this change, the amount of precipitaton (quantity of water) seems to be 0.00 mm and for me it's not relevant. When your return null, the column could disappaear if we have a week without rain ! |
Fixes issue #3345.
I think I submitted this correctly, but don't do this often so let me know if anything needs to be corrected.