2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 23:36:37 +00:00

fheminfo2: add debug code

git-svn-id: https://svn.fhem.de/fhem/trunk@14365 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2017-05-25 13:54:13 +00:00
parent be1d275151
commit bf644c1162

View File

@ -86,7 +86,7 @@ sub _fi2_Count() {
# $model = ReadingsVal($name,'type',$model);
$model = ReadingsVal($name,'model',$model);
my $debug = "Name: $name Model: $model chanNo: ";
$debug .= if(defined($defs{$key}{'chanNo'}));
$debug .= $defs{$key}{'chanNo'} if(defined($defs{$key}{'chanNo'}));
$fhemInfo{$type}{$model}++ unless defined($defs{$key}{'chanNo'}); # exclude Homematic channels
}