Bugfixes and docs tweaks (#17307)

* ensure config file is updated with booleans instead of strings

* catch onvif error

* ensure object type is available as a ptz tracker

* update live view docs
This commit is contained in:
Josh Hawkins
2025-03-22 06:38:33 -06:00
committed by GitHub
parent 48e4c44b32
commit d32949017b
4 changed files with 11 additions and 4 deletions
+1
View File
@@ -246,6 +246,7 @@ class NorfairTracker(ObjectTracker):
"ptz"
if self.camera_config.onvif.autotracking.enabled_in_config
and object_type in self.camera_config.onvif.autotracking.track
and object_type in self.ptz_object_type_configs.keys()
else "static"
)
if object_type in self.trackers: