fix: bugfix function WeatherAsHtmlD not working

This commit is contained in:
Marko Oldenburg 2023-01-08 21:54:31 +01:00
parent b6ecd73be9
commit 0a2f755324
2 changed files with 8 additions and 7 deletions

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

View File

@ -1,4 +1,4 @@
UPD 2023-01-07_19:00:05 57768 FHEM/59_Weather.pm
UPD 2023-01-08_17:09:40 50104 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2023-01-08_17:09:32 33411 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2023-01-08_21:52:20 57800 FHEM/59_Weather.pm
UPD 2023-01-08_17:15:24 50104 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2023-01-08_17:15:24 33411 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2023-01-07_19:00:05 36090 lib/FHEM/APIs/Weather/wundergroundAPI.pm