Added setting for Dahua doorbell

This commit is contained in:
Kuzib
2022-01-15 08:56:55 +00:00
parent 74329509a9
commit ee274b1406

View File

@@ -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'),
}
];
}