From 3b0d39b2253221b216e413699b389456bd02413e Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 21 Apr 2023 08:48:41 +0000 Subject: [PATCH] LandroidUtils.pm: fix readingList for newly created dev (Forum #111959) git-svn-id: https://svn.fhem.de/fhem/trunk@27470 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/LandroidUtils.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/LandroidUtils.pm b/fhem/FHEM/LandroidUtils.pm index 9a5e2ca9c..68da67964 100644 --- a/fhem/FHEM/LandroidUtils.pm +++ b/fhem/FHEM/LandroidUtils.pm @@ -223,7 +223,8 @@ Landroid_connect3($) push @cmds, $val if($readingName eq "mqtt_topics_command_in"); if($readingName eq "mqtt_topics_command_out") { push @subs, $val; - $attr{$m2d_name}{readingList}="$val:.* {json2nameValue(\$EVENT)}" + CommandAttr(undef, + "$m2d_name readingList $val:.* {json2nameValue(\$EVENT)}") if($m2c->{autocreate} && $m2d && !AttrVal($m2d_name, "readingList", undef)); }