2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

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:
justme-1968 2018-02-12 15:39:47 +00:00
parent e8ddade1d8
commit 5b3c8d982d

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