dataengines/weather: Fix error values showing for DWD
The DWD provider uses a value of 32767 (0x7fff or 0b111111111111111) to mark some measurements as invalid.
Instead of passing those values down to the DataEngine and the UI, detect and invalidate them while parsing the source information.
As this is dependent on the weather station and the available measurement data at any given time, it might be tricky to test, but I got lucky today.
BEFORE (Worst Case) | BEFORE | AFTER |
---|---|---|
! |
BUG: 462548
FIXED-IN: 5.91.90
Edited by Ismael Asensio