MAX: silly error

git-svn-id: https://svn.fhem.de/fhem/trunk@2609 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2013-01-30 19:07:10 +00:00
parent c39071e197
commit fd8a12d5a3

View File

@@ -352,7 +352,7 @@ MAX_Set($@)
return "No MAX device with address $dest" if(!exists($modules{MAX}{defptr}{$dest})); return "No MAX device with address $dest" if(!exists($modules{MAX}{defptr}{$dest}));
} }
my $destType = MAX_TypeToTypeId($modules{MAX}{defptr}{$dest}{type}); my $destType = MAX_TypeToTypeId($modules{MAX}{defptr}{$dest}{type});
Log 2, "Warning: Device do not have same groupid" if($hash->{groupid} != $modules{MAX}{defptr}{groupid}); Log 2, "Warning: Device do not have same groupid" if($hash->{groupid} != $modules{MAX}{defptr}{$dest}{groupid});
Log 5, "Using dest $dest, destType $destType"; Log 5, "Using dest $dest, destType $destType";
if($setting eq "associate") { if($setting eq "associate") {
return ($hash->{IODev}{Send})->($hash->{IODev},"AddLinkPartner",$hash->{addr},sprintf("%s%02x", $dest, $destType)); return ($hash->{IODev}{Send})->($hash->{IODev},"AddLinkPartner",$hash->{addr},sprintf("%s%02x", $dest, $destType));