diff --git a/lib/FHEM/APIs/Weather/wundergroundAPI.pm b/lib/FHEM/APIs/Weather/wundergroundAPI.pm index 1f66e12..32a23cd 100644 --- a/lib/FHEM/APIs/Weather/wundergroundAPI.pm +++ b/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