mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 20:47:42 +03:00
make migrated movement weight a zero
This commit is contained in:
parent
ebede3075d
commit
a86bf95d3b
@ -330,7 +330,7 @@ def migrate_016_0(config: dict[str, dict[str, any]]) -> dict[str, dict[str, any]
|
||||
|
||||
if movement_weights and len(movement_weights.split(",")) == 5:
|
||||
onvif_config["autotracking"]["movement_weights"] = (
|
||||
movement_weights + ", 1"
|
||||
movement_weights + ", 0"
|
||||
)
|
||||
camera_config["onvif"] = onvif_config
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user