Skip to content

Commit

Permalink
reolink: unhide the doorbell checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jun 27, 2024
1 parent 0408b7e commit 09eeae3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/reolink/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/reolink/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/reolink",
"version": "0.0.72",
"version": "0.0.73",
"description": "Reolink Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
Expand Down
3 changes: 1 addition & 2 deletions plugins/reolink/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class ReolinkCamera extends RtspSmartCamera implements Camera, DeviceProvider, R

storageSettings = new StorageSettings(this, {
doorbell: {
hide: true,
title: 'Doorbell',
description: 'This camera is a Reolink Doorbell.',
type: 'boolean',
Expand Down Expand Up @@ -670,7 +669,7 @@ class ReolinkProvider extends RtspProvider {
device.info = info;
device.putSetting('username', username);
device.putSetting('password', password);
device.putSetting('doorbell', doorbell.toString())
device.storageSettings.values.doorbell = doorbell;
device.storageSettings.values.deviceInfo = deviceInfo;
device.storageSettings.values.abilities = abilities;
device.storageSettings.values.hasObjectDetector = ai;
Expand Down

0 comments on commit 09eeae3

Please sign in to comment.