Skip to content

Commit bb7c6ef

Browse files
apocaliss92Gianluca Ruocco
and
Gianluca Ruocco
authored
reolink: Fix check for reolink nvrs (#1624)
Co-authored-by: Gianluca Ruocco <[email protected]>
1 parent 446e8ed commit bb7c6ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/reolink/src/reolink-api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class ReolinkCameraClient {
236236
const deviceInfo: DevInfo = await response.body?.[0]?.value?.DevInfo;
237237

238238
// Will need to check if it's valid for NVR and NVR_WIFI
239-
if (['HOMEHUB'].includes(deviceInfo.exactType)) {
239+
if (!['HOMEHUB', 'NVR', 'NVR_WIFI'].includes(deviceInfo.exactType)) {
240240
return deviceInfo;
241241
}
242242

0 commit comments

Comments
 (0)