2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 19:32:42 +00:00

00_ZWDongle.pm: neighbor Map fix (Forum #54574)

git-svn-id: https://svn.fhem.de/fhem/trunk@11792 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-07-14 05:27:16 +00:00
parent 884e0c5344
commit e7e2ec2bc8

View File

@ -199,7 +199,7 @@ ZWDongle_nlData($)
for my $key (keys %{$fmt}) {
my $val = $fmt->{$key};
$val =~ s/\b(\w+)\b/{ $h->{$1} ? $h->{$1} :
$r->{$1} ? $r->{$1} :
$r->{$1} ? $r->{$1}{VAL} :
$a->{$1} ? $a->{$1} : $1 }/ge;
$line{$key} = "\"$val\"" if($val ne $fmt->{$key}); # Skip unchanged
}