59_WUup: more cleanup
git-svn-id: https://svn.fhem.de/fhem/trunk@21525 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -113,7 +113,8 @@ sub WUup_Define {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub WUup_Undef {
|
sub WUup_Undef {
|
||||||
RemoveInternalTimer(shift);
|
my $hash = shift;
|
||||||
|
RemoveInternalTimer($hash);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,6 +207,8 @@ sub WUup_stateRequestTimer {
|
|||||||
|
|
||||||
Log3( $name, 5,
|
Log3( $name, 5,
|
||||||
"Sub WUup_stateRequestTimer ($name) - Request Timer is called" );
|
"Sub WUup_stateRequestTimer ($name) - Request Timer is called" );
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub WUup_send {
|
sub WUup_send {
|
||||||
@@ -332,6 +335,7 @@ sub WUup_receive {
|
|||||||
readingsSingleUpdate( $hash, "state", "active", undef );
|
readingsSingleUpdate( $hash, "state", "active", undef );
|
||||||
readingsSingleUpdate( $hash, "response", $data, undef );
|
readingsSingleUpdate( $hash, "response", $data, undef );
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|||||||
Reference in New Issue
Block a user