mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Make off delay configurable.
This commit is contained in:
parent
76a7386335
commit
2a9ae82788
@ -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):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user