From f41c89faf69a235ada2ec943d396c4eafa4fc836 Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Sat, 27 Feb 2021 19:43:24 +0000 Subject: [PATCH] 33_readingsGroup.pm: small cleanup git-svn-id: https://svn.fhem.de/fhem/trunk@23844 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/33_readingsGroup.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fhem/FHEM/33_readingsGroup.pm b/fhem/FHEM/33_readingsGroup.pm index 71440dedb..6f8a91932 100644 --- a/fhem/FHEM/33_readingsGroup.pm +++ b/fhem/FHEM/33_readingsGroup.pm @@ -1227,11 +1227,10 @@ readingsGroup_Update($$$) } else { foreach my $ntfy (values(%defs)) { next if(!$ntfy->{TYPE} || - $ntfy->{TYPE} ne "FHEMWEB" || + $ntfy->{TYPE} ne "FHEMWEB" || !$ntfy->{inform} || !$ntfy->{inform}{devices}{$name} || $ntfy->{inform}{type} ne "status"); - next if( !$ntfy->{inform}{devices}{$name} ); if(!FW_addToWritebuffer($ntfy, FW_longpollInfo($ntfy->{inform}{fmt}, "$name-$item", $value, $value ) ."\n" )) { my $name = $ntfy->{NAME};