feat: add human-readable text of daily forecast

add the proper human-readable text description of the daily forecast

[Ticket: no]
This commit is contained in:
2023-06-06 08:35:06 +02:00
parent 0f1af75a9e
commit 5bfd1c49d9
4 changed files with 50 additions and 94 deletions

View File

@ -788,6 +788,7 @@ sub _FillSelfHashWithWeatherResponseForOnecallDaily {
'moonset' => strftime(
"%a, %H:%M", localtime( $data->{daily}->[$i]->{moonset} )
),
'summary' => $data->{daily}->[$i]->{summary},
'temperature' =>
int( sprintf( "%.0f", $data->{daily}->[$i]->{temp}->{day} ) ),
'temperature_morn' => int(
@ -1031,7 +1032,7 @@ sub _strftimeWrapper {
],
"release_status": "stable",
"license": "GPL_2",
"version": "v3.2.6",
"version": "v3.2.7",
"author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
],