mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
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
This commit is contained in:
parent
8687d4a580
commit
990441ee23
@ -330,7 +330,7 @@ sub CUL_HM_updateConfig($){##########################
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($md =~ /(HM-CC-TC|ROTO_ZEL-STG-RM-FWT)/){
|
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};
|
delete $hash->{helper}{mId};
|
||||||
}
|
}
|
||||||
elsif ($md =~ m/^HM-CC-RT-DN/){
|
elsif ($md =~ m/^HM-CC-RT-DN/){
|
||||||
@ -1406,7 +1406,7 @@ sub CUL_HM_Parse($$) {#########################################################
|
|||||||
ReadingsVal($mh{dstN},"sabotageAttack_ErrIoAttack_cnt:",undef);
|
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");
|
CUL_HM_eventP($mh{dstH},"ErrIoAttack");
|
||||||
my ($evntCnt,undef) = split(' last_at:',$mh{dstH}->{"prot"."ErrIoAttack"},2);
|
my ($evntCnt,undef) = split(' last_at:',$mh{dstH}->{"prot"."ErrIoAttack"},2);
|
||||||
push @evtEt,[$mh{dstH},1,"sabotageAttack_ErrIoAttack_cnt:$evntCnt"];
|
push @evtEt,[$mh{dstH},1,"sabotageAttack_ErrIoAttack_cnt:$evntCnt"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user