mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
fheminfo2: fix for homematic specials…
git-svn-id: https://svn.fhem.de/fhem/trunk@14368 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4fd1e884cf
commit
211c473c45
@ -58,7 +58,6 @@ sub CommandFheminfo2($$) {
|
||||
# tools
|
||||
#
|
||||
sub _fi2_Count() {
|
||||
|
||||
my $uniqueID = getUniqueId();
|
||||
my $release = "5.8";
|
||||
my $feature = $featurelevel ? $featurelevel : $release;
|
||||
@ -85,8 +84,8 @@ sub _fi2_Count() {
|
||||
$model = AttrVal($name,'model',$model);
|
||||
# $model = ReadingsVal($name,'type',$model);
|
||||
$model = ReadingsVal($name,'model',$model);
|
||||
|
||||
$fhemInfo{$type}{$model}++ unless defined($defs{$key}{'chanNo'}); # exclude Homematic channels
|
||||
$fhemInfo{$type}{$model}++
|
||||
unless (defined($defs{$key}{'chanNo'}) || $name =~ m/^unknown_/); # exclude Homematic specials
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user