mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 02:10:32 +00:00
98_fheminfo.pm: #100280
git-svn-id: https://svn.fhem.de/fhem/trunk@19866 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ba655d37ab
commit
4ef1e8fb93
@ -269,12 +269,21 @@ sub _fi2_zwave($) {
|
||||
$mName = $2;
|
||||
next;
|
||||
}
|
||||
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($l =~ m/<Product config\s*=\s*"([^"]*)".*id\s*=\s*"([^"]*)".*name\s*=\s*"([^"]*)".*type\s*=\s*"([^"]*)"/) {
|
||||
if($mf eq $lastMf && $prod eq lc($4) && $id eq lc($2)) {
|
||||
$ret = "$mName $3";
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
# 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)) {
|
||||
# $ret = "$mName $3";
|
||||
# last;
|
||||
# }
|
||||
# }
|
||||
|
||||
}
|
||||
return $ret if($ret);
|
||||
return $zwave;
|
||||
|
Loading…
x
Reference in New Issue
Block a user