mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
added missing return undef in notifyFn. see: http://forum.fhem.de/index.php/topic,30775.msg233525.html#msg233525
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7298 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b195011f63
commit
5ef89d762f
@ -459,7 +459,7 @@ SYSSTAT_readOIDs($$)
|
|||||||
|
|
||||||
my @snmpoids = ();
|
my @snmpoids = ();
|
||||||
my @nextid = keys %$response;
|
my @nextid = keys %$response;
|
||||||
while ( $nextid[0] =~ m/^$snmpoids/ ) {
|
while ( $snmpoids && $nextid[0] =~ m/^$snmpoids/ ) {
|
||||||
push( @snmpoids, $nextid[0] );
|
push( @snmpoids, $nextid[0] );
|
||||||
|
|
||||||
$response = $hash->{session}->get_next_request( $nextid[0] );
|
$response = $hash->{session}->get_next_request( $nextid[0] );
|
||||||
|
@ -120,6 +120,8 @@ mailcheck_Notify($$)
|
|||||||
return if(!grep(m/^INITIALIZED|REREADCFG$/, @{$dev->{CHANGED}}));
|
return if(!grep(m/^INITIALIZED|REREADCFG$/, @{$dev->{CHANGED}}));
|
||||||
|
|
||||||
mailcheck_Connect($hash);
|
mailcheck_Connect($hash);
|
||||||
|
|
||||||
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
sub
|
||||||
|
@ -137,6 +137,8 @@ withings_Notify($$)
|
|||||||
withings_initUser($hash) if( $hash->{SUBTYPE} eq "USER" );
|
withings_initUser($hash) if( $hash->{SUBTYPE} eq "USER" );
|
||||||
withings_connect($hash) if( $hash->{SUBTYPE} eq "ACCOUNT" );
|
withings_connect($hash) if( $hash->{SUBTYPE} eq "ACCOUNT" );
|
||||||
withings_initDevice($hash) if( $hash->{SUBTYPE} eq "DEVICE" );
|
withings_initDevice($hash) if( $hash->{SUBTYPE} eq "DEVICE" );
|
||||||
|
|
||||||
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
sub
|
||||||
|
@ -108,6 +108,8 @@ harmony_Notify($$)
|
|||||||
return if(!grep(m/^INITIALIZED|REREADCFG$/, @{$dev->{CHANGED}}));
|
return if(!grep(m/^INITIALIZED|REREADCFG$/, @{$dev->{CHANGED}}));
|
||||||
|
|
||||||
harmony_connect($hash) if( !defined($hash->{id}) );
|
harmony_connect($hash) if( !defined($hash->{id}) );
|
||||||
|
|
||||||
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
sub
|
||||||
|
@ -190,6 +190,8 @@ netatmo_Notify($$)
|
|||||||
netatmo_connect($hash) if( $hash->{SUBTYPE} eq "ACCOUNT" );
|
netatmo_connect($hash) if( $hash->{SUBTYPE} eq "ACCOUNT" );
|
||||||
netatmo_initDevice($hash) if( $hash->{SUBTYPE} eq "DEVICE" );
|
netatmo_initDevice($hash) if( $hash->{SUBTYPE} eq "DEVICE" );
|
||||||
netatmo_initDevice($hash) if( $hash->{SUBTYPE} eq "MODULE" );
|
netatmo_initDevice($hash) if( $hash->{SUBTYPE} eq "MODULE" );
|
||||||
|
|
||||||
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
sub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user