mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 13:26:02 +00:00
YAMAHA_BD: continue processing HTTP cmd queue even when HTTP errors occur
git-svn-id: https://svn.fhem.de/fhem/trunk@10036 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cc412566e6
commit
fb883395cf
@ -768,15 +768,15 @@ YAMAHA_BD_ParseResponse($$$)
|
||||
|
||||
readingsEndUpdate($hash, 1);
|
||||
|
||||
YAMAHA_BD_GetStatus($hash, 1) if($cmd ne "statusRequest" and $cmd ne "on");
|
||||
YAMAHA_BD_ResetTimer($hash, 10) if($cmd eq "on");
|
||||
}
|
||||
|
||||
if(@{$hash->{helper}{CMD_QUEUE}})
|
||||
{
|
||||
YAMAHA_BD_HandleCmdQueue($hash);
|
||||
}
|
||||
|
||||
YAMAHA_BD_GetStatus($hash, 1) if($cmd ne "statusRequest" and $cmd ne "on");
|
||||
YAMAHA_BD_ResetTimer($hash, 10) if($cmd eq "on");
|
||||
}
|
||||
|
||||
$hash->{helper}{AVAILABLE} = ($err ? 0 : 1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user