mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
217e6cb814
commit
dfbd9da01e
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user