mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
10_MQTT2_DEVICE.pm: fix neighbourmap for style (Forum #91394)
git-svn-id: https://svn.fhem.de/fhem/trunk@18507 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1d5b175a83
commit
0fc1696abf
@ -561,7 +561,7 @@ MQTT2_DEVICE_nlData($)
|
||||
my $gv = ReadingsVal($d, ".graphviz", ReadingsVal($d, "graphviz", ""));
|
||||
for my $l (split(/[\r\n]/, $gv)) {
|
||||
|
||||
if($l =~ m/^\s*"([^"]+)"\s*\[label="([^"]+)"\]/) {
|
||||
if($l =~ m/^\s*"([^"]+)"\s*\[.*label="([^"]+)"\]/) {
|
||||
my ($n,$v) = ($1,$2);
|
||||
my $nv = $n;
|
||||
$nv =~ s/^0x0*//;
|
||||
|
Loading…
x
Reference in New Issue
Block a user