mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
10_ZWave.pm: asyncOutput-get-fix for WAKE_UP (Forum #53315)
git-svn-id: https://svn.fhem.de/fhem/trunk@11600 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2c755b7817
commit
0fcdfa4cf1
@ -894,8 +894,8 @@ ZWave_Cmd($$@)
|
||||
$data .= ZWave_callbackId($baseHash);
|
||||
}
|
||||
|
||||
if($type eq "get" && $hash->{CL}) { # Wait for the result for frontend cmd
|
||||
if(!$hash->{asyncGet}) {
|
||||
if($type eq "get" && $hash->{CL} && !ZWave_isWakeUp($hash)) {
|
||||
if(!$hash->{asyncGet}) { # Wait for the result for frontend cmd
|
||||
my $tHash = { hash=>$hash, CL=>$hash->{CL}, re=>"^000400${id}..$cmdId"};
|
||||
$hash->{asyncGet} = $tHash;
|
||||
InternalTimer(gettimeofday()+4, sub {
|
||||
|
Loading…
Reference in New Issue
Block a user