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:
Skyler Shaw
2026-08-07 09:07:41 -07:00
committed by GitHub
parent 1283de0c09
commit b42e90e6c6

View File

@@ -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,