fheminfo2: add debug code

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

View File

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