10_ZWave.pm: set type=list if Item present in the config XML (Forum #42604)

git-svn-id: https://svn.fhem.de/fhem/trunk@9563 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-10-20 17:32:17 +00:00
parent be7f15d675
commit f79f56d358

View File

@@ -1460,6 +1460,7 @@ ZWave_configParseModel($)
my $value = $1 if($line =~ m/value="([^"]*)"/i);
my ($item, $shortened) = ZWave_cleanString($label, $value);
$hash{$cmdName}{Item}{$item} = $value;
$hash{$cmdName}{type} = "list"; # Forum #42604
$hash{$cmdName}{Help} .= "Full text for $item is $label<br>"
if($shortened);
}