testing #29
@ -637,16 +637,13 @@ sub _FillSelfHashWithWeatherResponseForForecastHourly {
|
|||||||
sprintf( "%.0f", $data->{list}->[$i]->{main}->{temp_min} )
|
sprintf( "%.0f", $data->{list}->[$i]->{main}->{temp_min} )
|
||||||
),
|
),
|
||||||
'high_c' => int(
|
'high_c' => int(
|
||||||
sprintf( "%.0f",
|
sprintf( "%.0f", $data->{list}->[$i]->{main}->{temp_max} )
|
||||||
$data->{list}->[$i]->{main}->{temp_max} - 273.15 )
|
|
||||||
),
|
),
|
||||||
'tempLow' => int(
|
'tempLow' => int(
|
||||||
sprintf( "%.0f",
|
sprintf( "%.0f", $data->{list}->[$i]->{main}->{temp_min} )
|
||||||
$data->{list}->[$i]->{main}->{temp_min} - 273.15 )
|
|
||||||
),
|
),
|
||||||
'tempHigh' => int(
|
'tempHigh' => int(
|
||||||
sprintf( "%.0f",
|
sprintf( "%.0f", $data->{list}->[$i]->{main}->{temp_max} )
|
||||||
$data->{list}->[$i]->{main}->{temp_max} - 273.15 )
|
|
||||||
),
|
),
|
||||||
'humidity' => $data->{list}->[$i]->{main}->{humidity},
|
'humidity' => $data->{list}->[$i]->{main}->{humidity},
|
||||||
'condition' => encode_utf8(
|
'condition' => encode_utf8(
|
||||||
@ -758,7 +755,7 @@ sub _FillSelfHashWithWeatherResponseForOnecallDaily {
|
|||||||
"%a, %H:%M", localtime( $data->{daily}->[$i]->{dt} )
|
"%a, %H:%M", localtime( $data->{daily}->[$i]->{dt} )
|
||||||
),
|
),
|
||||||
'sunrise' => strftime(
|
'sunrise' => strftime(
|
||||||
"%H:%M", localtime( $data->{daily}->[$i]->{sunrise} )
|
"%a, %H:%M", localtime( $data->{daily}->[$i]->{sunrise} )
|
||||||
),
|
),
|
||||||
'sunset' => strftime(
|
'sunset' => strftime(
|
||||||
"%a, %H:%M", localtime( $data->{daily}->[$i]->{sunset} )
|
"%a, %H:%M", localtime( $data->{daily}->[$i]->{sunset} )
|
||||||
@ -992,7 +989,7 @@ sub _strftimeWrapper {
|
|||||||
"abstract": "Wetter API für OpenWeatherMap"
|
"abstract": "Wetter API für OpenWeatherMap"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "v3.0.10",
|
"version": "v3.0.11",
|
||||||
"author": [
|
"author": [
|
||||||
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
|
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user