mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-06-17 05:40:11 +00:00
10_MQTT2_DEVICE.pm: handle empty cid in autocreate (Forum #122525)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24861 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2ce2366634
commit
22b221474f
|
@ -154,6 +154,7 @@ MQTT2_DEVICE_Parse($$)
|
|||
}
|
||||
|
||||
my ($cid, $topic, $value) = split("\0", $msg, 3);
|
||||
$cid = $iodev->{NAME} if($cid eq ""); # empty cid, #122525
|
||||
return "" if(!defined($topic));
|
||||
for my $step (1,2,3,4) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user