2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 03:44:52 +00:00

59_Weather: bugfix function WeatherAsHtmlD not working

git-svn-id: https://svn.fhem.de/fhem/trunk@27009 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2023-01-08 21:07:08 +00:00
parent 5f73366043
commit f3ae65d9a7
2 changed files with 6 additions and 4 deletions

View File

@ -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.
- bugfix: 59_Weather: bugfix function WeatherAsHtmlD not working
- bugfix: 98_weekprofile.pm: internal tempMap list if attr tempMap changed
- feature: 59_Weather: fix multiple issues in API modules
- feature: 59_Weather: support for new openweathermap mod onecall

View File

@ -1078,15 +1078,16 @@ sub WeatherAsHtmlD {
my $op2 = shift;
my ( $f, $items ) = Weather_CheckOptions( $d, $op1, $op2 );
my $ret;
if ($FW_ss) {
WeatherAsHtmlV( $d, $f, $items );
$ret = WeatherAsHtmlV( $d, $f, $items );
}
else {
WeatherAsHtmlH( $d, $f, $items );
$ret = WeatherAsHtmlH( $d, $f, $items );
}
return;
return $ret;
}
sub Weather_CheckOptions {
@ -1606,7 +1607,7 @@ sub Weather_CheckOptions {
],
"release_status": "stable",
"license": "GPL_2",
"version": "v2.2.20",
"version": "v2.2.21",
"author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
],