2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

10_MQTT2_DEVICE.pm: use makeDeviceName (not match it) (Forum #97608)

git-svn-id: https://svn.fhem.de/fhem/trunk@18664 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-02-20 08:50:30 +00:00
parent 6ff65e16b2
commit c2cf22ab5d

View File

@ -221,7 +221,7 @@ MQTT2_DEVICE_Parse($$)
my $cidArr = $modules{MQTT2_DEVICE}{defptr}{cid}{$newCid};
if(!$cidArr || !int(@{$cidArr})) {
my $devName = $newCid;
$devName =~ makeDeviceName($devName);
$devName = makeDeviceName($devName);
return "UNDEFINED MQTT2_$devName MQTT2_DEVICE $newCid";
}
return "";