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:
parent
3c5a11e50f
commit
bec802eb7f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user