mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
direct call of WOL_GetUpdate($hash) in WOL_Set()
git-svn-id: https://svn.fhem.de/fhem/trunk@4168 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f584813c77
commit
6ddba6b809
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user