2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

10_ZWave.pm: set vclasses for children. (Forum #58106)

git-svn-id: https://svn.fhem.de/fhem/trunk@12283 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-10-05 19:47:51 +00:00
parent 9ac79ab012
commit a9cdcc1406

View File

@ -721,6 +721,7 @@ ZWave_setEndpoints($)
my ($root, $lid) = ($1, $2);
my $rd = $mp->{$h->{homeId}." ".$root};
$h->{endpointParent} = ($rd ? $rd->{NAME} : "unknown");
$h->{".vclasses"} = ($rd ? $rd->{".vclasses"} : {} );
if($rd) {
if($rd->{endpointChildren}) {
$rd->{endpointChildren} .= ",".$h->{NAME};