74_UnifiVideo.pm: fixed cam number in motion events

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16158 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2018-02-12 15:39:47 +00:00
parent 07ec98f72e
commit d31ef38938

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