mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
32_TechemWZ.pm: fix dispatch return (forum.fhem.de #43820 / gandy)
git-svn-id: https://svn.fhem.de/fhem/trunk@10276 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
55919c9e25
commit
0b0b6c74c5
@ -229,14 +229,14 @@ TechemWZ_Parse(@) {
|
||||
if (exists( $modules{TechemWZ}{defptr}{'00000000'} ) && defined( $defs{$modules{TechemWZ}{defptr}{'00000000'}->{NAME}} )) {
|
||||
my $listdev = $modules{TechemWZ}{defptr}{'00000000'};
|
||||
$listdev->{helper}->{list}->{$message->{long}}->{msg} = $message;
|
||||
push @d, $listdev;
|
||||
push @d, $listdev->{NAME};
|
||||
}
|
||||
|
||||
# dispatch
|
||||
if (exists( $modules{TechemWZ}{defptr}{$message->{long}})) {
|
||||
my $deviceHash = $modules{TechemWZ}{defptr}{$message->{long}};
|
||||
TechemWZ_Receive($deviceHash, $message);
|
||||
push @d, $deviceHash;
|
||||
push @d, $deviceHash->{NAME};
|
||||
}
|
||||
|
||||
return (@d);
|
||||
|
Loading…
x
Reference in New Issue
Block a user