From d607d2c3d6f32bc533e696126d2cd8ce82bf1324 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Thu, 5 Nov 2020 22:01:07 +0000 Subject: [PATCH] 76_SMAPortal: contrib 3.6.3 git-svn-id: https://svn.fhem.de/fhem/trunk@23103 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SMAPortal.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SMAPortal.pm b/fhem/contrib/DS_Starter/76_SMAPortal.pm index 46ed4110c..dcbba0241 100644 --- a/fhem/contrib/DS_Starter/76_SMAPortal.pm +++ b/fhem/contrib/DS_Starter/76_SMAPortal.pm @@ -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++; } }