mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
Shadow device should not copy all attribute from the main device
git-svn-id: https://svn.fhem.de/fhem/trunk@1582 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c0e8dd7c03
commit
cf96e45acb
@ -163,8 +163,9 @@ CUL_HM_Define($$)
|
||||
if($chiefHash) {
|
||||
my $cname = $chiefHash->{NAME};
|
||||
if($attr{$cname}) {
|
||||
foreach my $attrName (keys %{$attr{$cname}}) {
|
||||
$attr{$name}{$attrName} = $attr{$cname}{$attrName};
|
||||
foreach my $attrName ("model", "subtype", "hmclass") {
|
||||
$attr{$name}{$attrName} = $attr{$cname}{$attrName}
|
||||
if($attr{$cname}{$attrName});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user