Make off delay configurable.

This commit is contained in:
Nick Mowen 2022-04-27 06:22:06 -06:00
parent 76a7386335
commit 2a9ae82788

View File

@ -134,6 +134,10 @@ class MotionConfig(FrigateBaseModel):
mask: Union[str, List[str]] = Field( mask: Union[str, List[str]] = Field(
default="", title="Coordinates polygon for the motion mask." default="", title="Coordinates polygon for the motion mask."
) )
mqtt_off_delay: int = Field(
default=30,
title="Delay for updating MQTT with no motion detected.",
)
class RuntimeMotionConfig(MotionConfig): class RuntimeMotionConfig(MotionConfig):