33_readingsGroup.pm: small cleanup

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@23844 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2021-02-27 19:43:24 +00:00
parent 8dee7153a4
commit 02a505cb78

View File

@ -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};