From 990441ee23ccf8ca65749a626ca2ecd49334ff3f Mon Sep 17 00:00:00 2001 From: martinp876 <> Date: Sat, 20 Feb 2021 16:03:14 +0000 Subject: [PATCH] CUL_HM:update CC_TC device entity - remove channel features git-svn-id: https://svn.fhem.de/fhem/trunk@23783 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_CUL_HM.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/10_CUL_HM.pm b/fhem/FHEM/10_CUL_HM.pm index 7d2192d45..4eb38f9d7 100755 --- a/fhem/FHEM/10_CUL_HM.pm +++ b/fhem/FHEM/10_CUL_HM.pm @@ -330,7 +330,7 @@ sub CUL_HM_updateConfig($){########################## } if ($md =~ /(HM-CC-TC|ROTO_ZEL-STG-RM-FWT)/){ - $hash->{helper}{role}{chn} = 1 if (length($id) == 6); #tc special +# $hash->{helper}{role}{chn} = 1 if (length($id) == 6); #tc special delete $hash->{helper}{mId}; } elsif ($md =~ m/^HM-CC-RT-DN/){ @@ -1406,7 +1406,7 @@ sub CUL_HM_Parse($$) {######################################################### ReadingsVal($mh{dstN},"sabotageAttack_ErrIoAttack_cnt:",undef); } - Log3 $mh{dstN},2,"CUL_HM $mh{dstN} attack:$mh{dstH}->{helper}{cSnd}:".$tm; + Log3 $mh{dstN},2,"CUL_HM $mh{dstN} attack:".($mh{dstH}->{helper}{cSnd} ? $mh{dstH}->{helper}{cSnd} : "").":$tm"; CUL_HM_eventP($mh{dstH},"ErrIoAttack"); my ($evntCnt,undef) = split(' last_at:',$mh{dstH}->{"prot"."ErrIoAttack"},2); push @evtEt,[$mh{dstH},1,"sabotageAttack_ErrIoAttack_cnt:$evntCnt"];