10_ZWave.pm: allow space in openzwave_manufacturer_specific.xml (Forum #41475)
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9314 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1236,10 +1236,11 @@ ZWave_mfsParse($$$$$)
|
||||
next;
|
||||
}
|
||||
|
||||
if($l =~ m/<Product type="([^"]*)".*id="([^"]*)".*name="([^"]*)"/) {
|
||||
if($l =~ m/<Product type\s*=\s*"([^"]*)".*id\s*=\s*"([^"]*)".*name\s*=\s*"([^"]*)"/) {
|
||||
if($mf eq $lastMf && $prod eq lc($1) && $id eq lc($2)) {
|
||||
if($config) {
|
||||
$ret = "modelConfig:".(($l =~ m/config="([^"]*)"/) ? $1:"unknown");
|
||||
$ret = "modelConfig:".
|
||||
(($l =~ m/config\s*=\s*"([^"]*)"/) ? $1 : "unknown");
|
||||
ZWave_mfsAddClasses($hash, $1);
|
||||
return $ret;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user