From 5a0c0557924f5a982ae65dced349eb1277496548 Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Tue, 6 Jun 2023 19:06:36 +0000 Subject: [PATCH] 59_Weather OpenWeatherMapAPI: add human-readable text of daily forecast git-svn-id: https://svn.fhem.de/fhem/trunk@27659 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 6025f7a1f..30c8c56b0 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: OpenWeatherMapAPI: add human-readable text of daily forecast - feature: 48_BlinkCamera: Support for doorbell added - change: 50_Signalbot: Minor change in event behavior and catch dbus error - change: 74_AutomowerConnect: Common.pm, automowerconnect.js diff --git a/fhem/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm b/fhem/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm index 27cdd7e4f..4742c23c0 100644 --- a/fhem/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm +++ b/fhem/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm @@ -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 " ],