10_ZWave.pm: revert the CCControlledNoCmds.patch (Forum #72418)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-05-28 18:15:00 +00:00
parent 217e6cb814
commit dfbd9da01e

View File

@ -914,7 +914,6 @@ ZWave_Cmd($$@)
my %cmdList; my %cmdList;
my $classes = AttrVal($name, "classes", ""); my $classes = AttrVal($name, "classes", "");
foreach my $cl (split(" ", $classes)) { foreach my $cl (split(" ", $classes)) {
last if($cl eq "MARK");
my $ptr = ZWave_getHash($hash, $cl, $type); my $ptr = ZWave_getHash($hash, $cl, $type);
next if(!$ptr); next if(!$ptr);
@ -2286,7 +2285,7 @@ ZWave_mfsAddClasses($$)
$id = sprintf("%02x", $id); $id = sprintf("%02x", $id);
my $cn = $zwave_id2class{$id}; my $cn = $zwave_id2class{$id};
next if($attr =~ m/$cn/); next if($attr =~ m/$cn/);
$attr = "$cn ".$attr; $attr .= " $cn";
$changed = 1; $changed = 1;
} }
} }