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:
Marko Oldenburg 2023-06-06 08:35:06 +02:00
parent 0f1af75a9e
commit 5bfd1c49d9
4 changed files with 50 additions and 94 deletions

View File

@ -1,4 +1,47 @@
### build: v2.2.22 (HEAD -> patch-package)
### fix: missing perl modules (HEAD -> patch-removePrivatFnDeklaration)
>Sun, 5 Feb 2023 09:26:04 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
### fix: failed then Readonly is missing (origin/patch-removePrivatFnDeklaration)
>Sun, 5 Feb 2023 09:20:20 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
### fix: : Undefined subroutine
>Thu, 2 Feb 2023 22:58:40 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
&FHEM::Core::Weather::DeleteForecastreadings
[Ticket: #46]
### docs: add new entry in CHANGELOG.md (tag: v2.2.22)
>Tue, 10 Jan 2023 21:44:20 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
### build: v2.2.22
>Tue, 10 Jan 2023 21:43:26 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
@ -8,7 +51,7 @@
### docs: add new modul path in to pre-commit (origin/patch-package)
### docs: add new modul path in to pre-commit
>Tue, 10 Jan 2023 21:37:10 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
UPD 2023-01-29_16:14:48 25809 FHEM/59_Weather.pm
UPD 2023-02-05_09:25:24 34254 lib/FHEM/Core/Weather.pm
UPD 2023-06-06_07:31:00 34254 lib/FHEM/Core/Weather.pm
UPD 2023-01-29_16:14:48 50106 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2023-01-29_16:14:48 33422 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2023-01-29_16:14:48 36101 lib/FHEM/APIs/Weather/wundergroundAPI.pm
UPD 2023-06-06_08:24:10 33488 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2023-06-02_05:03:58 36607 lib/FHEM/APIs/Weather/wundergroundAPI.pm

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>"
],