mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
10_ZWave.pm: versionClass patch from Christian (Forum #50090)
git-svn-id: https://svn.fhem.de/fhem/trunk@11027 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
729305ac7b
commit
677c395182
@ -1619,7 +1619,8 @@ ZWave_versionClassAllGet($@)
|
|||||||
|
|
||||||
if(!$data) { # called by the user
|
if(!$data) { # called by the user
|
||||||
delete($hash->{CL});
|
delete($hash->{CL});
|
||||||
foreach my $c (sort split(" ", AttrVal($name, "classes", ""))) {
|
my %h = map { $_=>1 } split(" ", AttrVal($name, "classes", ""));
|
||||||
|
foreach my $c (sort keys %h) {
|
||||||
next if($c eq "MARK");
|
next if($c eq "MARK");
|
||||||
ZWave_Get($hash, $name, "versionClass", $c);
|
ZWave_Get($hash, $name, "versionClass", $c);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user