mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
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:
parent
9df84ca7d2
commit
974c2a62a6
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user