2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

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
This commit is contained in:
LeonGaultier 2023-06-06 19:06:36 +00:00
parent 0df9ef9c1b
commit 5a0c055792
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # 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 - feature: 48_BlinkCamera: Support for doorbell added
- change: 50_Signalbot: Minor change in event behavior and catch dbus error - change: 50_Signalbot: Minor change in event behavior and catch dbus error
- change: 74_AutomowerConnect: Common.pm, automowerconnect.js - change: 74_AutomowerConnect: Common.pm, automowerconnect.js

View File

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