mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
76_SMAPortal: contrib 3.6.3
git-svn-id: https://svn.fhem.de/fhem/trunk@23103 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ea9c15ba09
commit
d607d2c3d6
@ -401,16 +401,12 @@ sub Set {
|
||||
;
|
||||
if($hash->{HELPER}{PLANTOID} && $hash->{HELPER}{CONSUMER}) {
|
||||
my $lfd = 0;
|
||||
for my $key (keys %{$hash->{HELPER}{CONSUMER}{$lfd}}) {
|
||||
for my $key (keys %{$hash->{HELPER}{CONSUMER}}) {
|
||||
my $dev = $hash->{HELPER}{CONSUMER}{$lfd}{DeviceName};
|
||||
Log3($name, 1, "$name - Lfd: $lfd, DEV: $dev");
|
||||
if($dev) {
|
||||
push @ads, $dev;
|
||||
$setlist .= "$dev:on,off,auto ";
|
||||
}
|
||||
else {
|
||||
delete $hash->{HELPER}{CONSUMER}{$lfd};
|
||||
}
|
||||
$lfd++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user