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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9563 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-10-20 17:32:17 +00:00
parent 93309110f2
commit 84d1de3b3c

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);
}