ONVIF Event Implementation (#35406)
Initial implementation of ONVIF event sensors
This commit is contained in:
1 parent
9eb1505aa1
commit
132bb4e890
12 files changed
+762
-20
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user