Skip to content

NVR with realtime local object detection for IP cameras

Compare severity in send_alert's no-op update check (#24084)

nulledy65fe6b610a37
diff --git a/frigate/comms/webpush.py b/frigate/comms/webpush.py
index 244f82ca8b..34a0e57508 100644
--- a/frigate/comms/webpush.py
+++ b/frigate/comms/webpush.py
@@ -421,6 +421,7 @@ class WebPushClient(Communicator):
# Don't notify if message is an update and important fields don't have an update
if (
state == "update"
+ and payload["before"]["severity"] == payload["after"]["severity"]
and len(payload["before"]["data"]["objects"])
== len(payload["after"]["data"]["objects"])
and len(payload["before"]["data"]["zones"])