diff --git a/unifi_protect_backup/event_listener.py b/unifi_protect_backup/event_listener.py index 66b928c..fb552d9 100644 --- a/unifi_protect_backup/event_listener.py +++ b/unifi_protect_backup/event_listener.py @@ -61,7 +61,7 @@ class EventListener: return if msg.new_obj.camera_id in self.ignore_cameras: return - if msg.new_obj.end is None: + if 'end' not in msg.changed_data: return if msg.new_obj.type not in [EventType.MOTION, EventType.SMART_DETECT, EventType.RING]: return