74_UnifiVideo.pm: fixed cam number in motion events

git-svn-id: https://svn.fhem.de/fhem/trunk@16158 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2018-02-12 15:39:47 +00:00
parent 00345c1b64
commit 70673ec55c

View File

@@ -397,7 +397,6 @@ UnifiVideo_Read($)
$json = [] if( !$json );
my $i = 0;
foreach my $entry (@{$json->{data}}) {
next if( $entry->{deleted} );
last if( $entry->{mac} eq $cam );
++$i;
}