ONVIF Event Implementation (#35406)

Initial implementation of ONVIF event sensors
This commit is contained in:
Jason Hunter authored and GitHub committed 2020-05-11 13:12:12 -04:00
1 parent 9eb1505aa1
commit 132bb4e890
12 files changed
+762 -20

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ from .models import Profile
class ONVIFBaseEntity(Entity):
"""Base class common to all ONVIF entities."""
def __init__(self, device: ONVIFDevice, profile: Profile) -> None:
def __init__(self, device: ONVIFDevice, profile: Profile = None) -> None:
"""Initialize the ONVIF entity."""
self.device = device
self.profile = profile