mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
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
This commit is contained in:
parent
694770c90c
commit
3b0d39b225
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user