mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +00:00
33_readingsGroup.pm: small cleanup
git-svn-id: https://svn.fhem.de/fhem/trunk@23844 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5f97868680
commit
f41c89faf6
@ -1227,11 +1227,10 @@ readingsGroup_Update($$$)
|
|||||||
} else {
|
} else {
|
||||||
foreach my $ntfy (values(%defs)) {
|
foreach my $ntfy (values(%defs)) {
|
||||||
next if(!$ntfy->{TYPE} ||
|
next if(!$ntfy->{TYPE} ||
|
||||||
$ntfy->{TYPE} ne "FHEMWEB" ||
|
$ntfy->{TYPE} ne "FHEMWEB" ||
|
||||||
!$ntfy->{inform} ||
|
!$ntfy->{inform} ||
|
||||||
!$ntfy->{inform}{devices}{$name} ||
|
!$ntfy->{inform}{devices}{$name} ||
|
||||||
$ntfy->{inform}{type} ne "status");
|
$ntfy->{inform}{type} ne "status");
|
||||||
next if( !$ntfy->{inform}{devices}{$name} );
|
|
||||||
if(!FW_addToWritebuffer($ntfy,
|
if(!FW_addToWritebuffer($ntfy,
|
||||||
FW_longpollInfo($ntfy->{inform}{fmt}, "$name-$item", $value, $value ) ."\n" )) {
|
FW_longpollInfo($ntfy->{inform}{fmt}, "$name-$item", $value, $value ) ."\n" )) {
|
||||||
my $name = $ntfy->{NAME};
|
my $name = $ntfy->{NAME};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user