ONVIF Event Implementation (#35406)
Initial implementation of ONVIF event sensors
This commit is contained in:
parent
9eb1505aa1
commit
132bb4e890
12 changed files with 762 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue