direct call of WOL_GetUpdate($hash) in WOL_Set()
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4168 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -66,7 +66,7 @@ sub WOL_Set($@)
|
||||
InternalTimer(gettimeofday()+5, "WOL_UpdateReadings", $hash, 0);
|
||||
|
||||
if ($hash->{STATE} eq "on") {
|
||||
InternalTimer(gettimeofday(), "WOL_GetUpdate", $hash, 0);
|
||||
WOL_GetUpdate($hash);
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user