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 db4c926bfd
commit 2c149e9fbf

View File

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