Set supported ptz features in init to not fail when camera has an error

This commit is contained in:
Nicolas Mowen 2023-07-19 13:53:36 -06:00 committed by GitHub
parent f2ff55dba2
commit d7d9df8533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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