FHEM/10_ZWave.pm: vclass check for channel devices (Forum #60468)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-08-18 14:59:21 +00:00
parent 6bc45d6426
commit 9601ed997e

View File

@ -4258,7 +4258,8 @@ ZWave_getHash($$$)
my %h; my %h;
my $version = $hash->{".vclasses"}{$cl}; my $version = $hash->{".vclasses"}{$cl};
$version = $defs{$hash->{endpointParent}}{".vclasses"}{$cl} $version = $defs{$hash->{endpointParent}}{".vclasses"}{$cl}
if($hash->{endpointParent} && $defs{$hash->{endpointParent}}); if(!$version &&
$hash->{endpointParent} && $defs{$hash->{endpointParent}});
$version = 0 if(!defined($version)); $version = 0 if(!defined($version));
map { map {
my $zv = $zwave_classVersion{$_}; my $zv = $zwave_classVersion{$_};