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:
parent
2a6c0237d2
commit
71cc1aea87
@ -149,6 +149,10 @@ CommandJsonList($$)
|
|||||||
|
|
||||||
my $p = $defs{$d};
|
my $p = $defs{$d};
|
||||||
my $t = $p->{TYPE};
|
my $t = $p->{TYPE};
|
||||||
|
if(!$t) {
|
||||||
|
Log3 undef, 3, "JsonList: device ($d) without TYPE";
|
||||||
|
next;
|
||||||
|
}
|
||||||
$t = $q if($q ne "");
|
$t = $q if($q ne "");
|
||||||
|
|
||||||
#$str .= sprintf("} ") if($t eq $lt);
|
#$str .= sprintf("} ") if($t eq $lt);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user