Fixed NtfyNotifier constructor bug
This commit is contained in:
parent
59ee8e64b7
commit
ff12424ba3
|
@ -18,7 +18,7 @@ class CameraMonitor:
|
||||||
self._consecutive_down_threshold = consecutive_down_threshold
|
self._consecutive_down_threshold = consecutive_down_threshold
|
||||||
self._camera_downtime = Counter()
|
self._camera_downtime = Counter()
|
||||||
self._frigate_config = FrigateConfig()
|
self._frigate_config = FrigateConfig()
|
||||||
self._ntfy_notifier = NtfyNotifier
|
self._ntfy_notifier = NtfyNotifier()
|
||||||
|
|
||||||
async def _on_camera_up(self, camera: str) -> None:
|
async def _on_camera_up(self, camera: str) -> None:
|
||||||
logger.info(f"Camera {camera} is back online")
|
logger.info(f"Camera {camera} is back online")
|
||||||
|
|
Loading…
Reference in New Issue