Set supported ptz features in init to not fail when camera has an error (#7228)

This commit is contained in:
Nicolas Mowen 2023-07-21 06:27:07 -06:00 committed by GitHub
parent f2ff55dba2
commit b655eca152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ class OnvifController:
),
"init": False,
"active": False,
"features": [],
"presets": {},
}
except ONVIFError as e: