diff --git a/fhem/CHANGED b/fhem/CHANGED index 333a61069..586208c55 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 59_Weather: wunderground API fix lost temperature reading - bugfix: 88_HMCCU: Fixed scaling of non numeric reading values - bugfix: 74_AutomowerConnect: improved background image loading Commandref: Hint to connect application key with Automower Connect diff --git a/fhem/lib/FHEM/APIs/Weather/wundergroundAPI.pm b/fhem/lib/FHEM/APIs/Weather/wundergroundAPI.pm index 1f66e126c..32a23cd40 100644 --- a/fhem/lib/FHEM/APIs/Weather/wundergroundAPI.pm +++ b/fhem/lib/FHEM/APIs/Weather/wundergroundAPI.pm @@ -542,6 +542,16 @@ sub _ProcessingRetrieveData { ) ) ), + 'temperature' => int( + sprintf( + "%.1f", + ( + $data->{temperatureMax}[$i] + ? $data->{temperatureMax}[$i] + : 0 + ) + ) + 0.5 + ), 'low_c' => int( sprintf( "%.1f", $data->{temperatureMin}[$i] ) + 0.5