2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

10_MQTT2_DEVICE.pm: add first topic value when autocreate active

git-svn-id: https://svn.fhem.de/fhem/trunk@17158 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-08-17 17:15:00 +00:00
parent 998c0eefaa
commit 366d15c880

View File

@ -143,6 +143,7 @@ MQTT2_DEVICE_Parse($$)
my $rl = AttrVal($nn, "readingList", "");
$rl .= "\n" if($rl);
CommandAttr(undef, "$nn readingList $rl$cid:$topic:.* $add");
MQTT2_DEVICE_Parse($iodev, $msg);
}, undef);
return "UNDEFINED $nn MQTT2_DEVICE $cid" if(!$cidHash);
return "";