mirror of
https://github.com/koush/scrypted.git
synced 2026-08-08 22:30:40 +01:00
objectdetector: fix "Built-In Motion Sensor" description to say "Assist" instead of "Filter" (#2117)
The setting's three choices are Default/Assist/Replace, but the description text described the "Assist" behavior using the literal word "Filter" instead of interpolating BUILTIN_MOTION_SENSOR_ASSIST — no such option exists, which is confusing since this setting controls a real, consequential choice (whether Scrypted's own motion detection replaces or just verifies the camera's built-in sensor). Fixes #2116
This commit is contained in:
@@ -64,7 +64,7 @@ class ObjectDetectionMixin extends SettingsMixinDeviceBase<VideoCamera & Camera
|
||||
},
|
||||
motionSensorSupplementation: {
|
||||
title: 'Built-In Motion Sensor',
|
||||
description: `This camera has a built in motion sensor. Using ${this.objectDetection.name} may be unnecessary and will use additional CPU. Replace will ignore the built in motion sensor. Filter will verify the motion sent by built in motion sensor. The Default is ${BUILTIN_MOTION_SENSOR_REPLACE}.`,
|
||||
description: `This camera has a built in motion sensor. Using ${this.objectDetection.name} may be unnecessary and will use additional CPU. Replace will ignore the built in motion sensor. ${BUILTIN_MOTION_SENSOR_ASSIST} will verify the motion sent by built in motion sensor. The Default is ${BUILTIN_MOTION_SENSOR_REPLACE}.`,
|
||||
choices: [
|
||||
'Default',
|
||||
BUILTIN_MOTION_SENSOR_ASSIST,
|
||||
|
||||
Reference in New Issue
Block a user