This commit is contained in:
Marko Oldenburg 2019-09-02 13:43:53 +02:00
parent 7d0a74cf78
commit 150581147f

View File

@ -1,4 +1,4 @@
# $Id: 59_Weather.pm 16644 2018-04-22 08:07:35Z neubert $
# $Id$
##############################################################################
#
# 59_Weather.pm
@ -310,6 +310,10 @@ sub Weather_ReturnWithError($$) {
sub Weather_RetrieveCallbackFn($) {
my $name = shift;
return undef
unless ( IsDevice($name) );
my $hash = $defs{$name};
my $responseRef = $hash->{fhem}->{api}->getWeather;