Merge pull request 'patch-wunderground' (#53) from patch-wunderground into dev

Reviewed-on: #53
This commit is contained in:
Marko Oldenburg 2023-06-02 05:00:55 +02:00
commit 245fc455e1

View File

@ -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