From ee274b14061a7cf74da842555264eb678fe6bc4e Mon Sep 17 00:00:00 2001 From: Kuzib Date: Sat, 15 Jan 2022 08:56:55 +0000 Subject: [PATCH] Added setting for Dahua doorbell --- plugins/amcrest/src/main.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/amcrest/src/main.ts b/plugins/amcrest/src/main.ts index cd9c49758..438696c6d 100644 --- a/plugins/amcrest/src/main.ts +++ b/plugins/amcrest/src/main.ts @@ -106,6 +106,13 @@ class AmcrestCamera extends RtspSmartCamera implements VideoCameraConfiguration, description: "Enable if this device is an Amcrest Doorbell.", key: "amcrestDoorbell", value: (!!this.providedInterfaces?.includes(ScryptedInterface.BinarySensor)).toString(), + }, + { + title: 'Dahua Doorbell', + type: 'boolean', + description: "Enable if this device is an Dahua Doorbell.", + key: "dahuaDoorbell", + value: this.storage.getItem('dahuaDoorbell'), } ]; }