2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

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 a35ee4c62d
commit 0fe6e34d7d

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