optimice lacyConfig performance - ignore CUL

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5025 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-02-23 08:21:17 +00:00
parent 7a95a13819
commit 4db07990cd

View File

@@ -682,7 +682,8 @@ sub CUL_HM_hmInitMsgUpdt($){ #update device init msg for HMLAN
$p[1] &= 0xFD;
}
$hash->{helper}{io}{newChn} = sprintf("%s%02X%s",@p);
if ($hash->{helper}{io}{newChn} ne $oldChn){
if ($hash->{helper}{io}{newChn} ne $oldChn
&&{$hash->{IODev}->{TYPE}} eq "HMLAN"){
my $id = CUL_HM_hash2Id($hash);
IOWrite($hash, "", "init:$id");
}