diff --git a/fhem/FHEM/98_structure.pm b/fhem/FHEM/98_structure.pm index ae0205674..3b8d07470 100644 --- a/fhem/FHEM/98_structure.pm +++ b/fhem/FHEM/98_structure.pm @@ -78,7 +78,7 @@ structAdd($$) Log 1, "recursive structure definition" } else { - addToDevAttrList($c, $attrList); + addToDevAttrList($c, $attrList, 'structure'); structAdd($c, $attrList) if($defs{$c} && $defs{$c}{TYPE} eq "structure"); } } @@ -136,7 +136,7 @@ structure_setDevs($;$) $list{$d} = 1; push(@list, $d); next if($c && $c->{$d}); - addToDevAttrList($d, $aList); + addToDevAttrList($d, $aList, 'structure'); structAdd($d, $aList) if($defs{$d} && $defs{$d}{TYPE} eq "structure"); } } @@ -598,11 +598,11 @@ structure_Attr($@) =item summary_DE mehrere Geräte zu einem zusammenfassen =begin html - +

structure

+
  • setStateIndirectly
    If true (1), set the state only when member devices report a state change, else the state is first set to the set command argument. Default is 0.
  • +
  • setStructType
    If true (1), then the <struct-type> will be set as an attribute for each member device to the name of the structure. True is the default for featurelevel <= 5.8.
  • - +
  • structexclude
    Note: this is an attribute for the member device, not for the struct itself.
    @@ -815,11 +821,11 @@ structure_Attr($@) =end html =begin html_DE - +

    structure

  • +
  • setStateIndirectly
    Falls wahr (1), dann wird der Status der Struktur nur aus dem Statusmeldungen der Mitglied-Geräte bestimmt, sonst wird zuerst der Status auf dem set Argument gesetzt. Die Voreinstellung ist 0.
  • +
  • setStructType
    Falls wahr (1), <struct-type> wird als Attribute für jedes Mitglied-Gerät auf dem Namen der Struktur gesetzt. Wahr ist die Voreinstellung für featurelevel <= 5.8.
  • +
  • structexclude
    Bei gesetztem Attribut wird set, attr/deleteattr ignoriert. Dies trifft ebenfalls auf die Weitergabe des Devicestatus an die Struktur zu.