jsonlist: report error for typeless devices

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4128 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-10-29 06:51:24 +00:00
parent 952c5efb00
commit a9696eefd9

View File

@@ -149,6 +149,10 @@ CommandJsonList($$)
my $p = $defs{$d};
my $t = $p->{TYPE};
if(!$t) {
Log3 undef, 3, "JsonList: device ($d) without TYPE";
next;
}
$t = $q if($q ne "");
#$str .= sprintf("} ") if($t eq $lt);