2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

10_ZWave.pm: do not add XML-class for setasreport (Forum #72418)

git-svn-id: https://svn.fhem.de/fhem/trunk@14403 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-05-28 14:04:17 +00:00
parent 8e58837f68
commit 83f506802a

View File

@ -2282,7 +2282,7 @@ ZWave_mfsAddClasses($$)
my $ci = $zwave_modelConfig{$cfgFile}{classInfo};
foreach my $id (keys %{$ci}) {
my $v = $ci->{$id};
if($v =~ m/setasreport="true"/ || $v =~ m/action="add"/) {
if($v =~ m/action="add"/) {
$id = sprintf("%02x", $id);
my $cn = $zwave_id2class{$id};
next if($attr =~ m/$cn/);