2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

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 de93bee2a0
commit be1d275151

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
}