2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

ZWave.pm: complete the previous fix (Forum #27455)

git-svn-id: https://svn.fhem.de/fhem/trunk@6718 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-10-09 05:23:14 +00:00
parent 3c5a11e50f
commit bec802eb7f

View File

@ -730,7 +730,7 @@ ZWave_configParseModel($)
$h{index} = $1 if($line =~ m/index="([^"]*)"/i); # 1, 2, etc
$h{read_only} = $1 if($line =~ m/read_only="([^"]*)"/i); # true,false
$h{write_only} = $1 if($line =~ m/write_only="([^"]*)"/i); # true,false
my ($cmd,$shortened) = ZWave_cleanString($h{label}, "");
my ($cmd,$shortened) = ZWave_cleanString($h{label}, $h{index});
$cmdName = "config$cmd";
$h{Help} = "";
$h{Help} .= "Full text for $cmdName is $h{label}<br>" if($shortened);