10_ZWave.pm: fix commands to mc devices

git-svn-id: https://svn.fhem.de/fhem/trunk@8607 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-05-20 17:55:35 +00:00
parent be0ccf49ba
commit 475dabe893

View File

@@ -566,7 +566,7 @@ ZWave_Cmd($$@)
Log3 $name, 2, "ZWave $type $name $cmd";
my ($baseClasses, $baseHash) = ($classes, $hash);
if($id =~ m/(....)/) { # Multi-Channel, encapsulate
if($id =~ m/(..)(..)/) { # Multi-Channel, encapsulate
my ($baseId,$ch) = ($1, $2);
$id = $baseId;
$cmdFmt = "0d01$ch$cmdId$cmdFmt";