mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
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:
parent
07ec98f72e
commit
d31ef38938
@ -397,7 +397,6 @@ UnifiVideo_Read($)
|
|||||||
$json = [] if( !$json );
|
$json = [] if( !$json );
|
||||||
my $i = 0;
|
my $i = 0;
|
||||||
foreach my $entry (@{$json->{data}}) {
|
foreach my $entry (@{$json->{data}}) {
|
||||||
next if( $entry->{deleted} );
|
|
||||||
last if( $entry->{mac} eq $cam );
|
last if( $entry->{mac} eq $cam );
|
||||||
++$i;
|
++$i;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user