2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

jsonlist: report error for typeless devices

git-svn-id: https://svn.fhem.de/fhem/trunk@4128 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-10-29 06:51:24 +00:00
parent 2a6c0237d2
commit 71cc1aea87

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);