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:
parent
a35ee4c62d
commit
0fe6e34d7d
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user