Trying to export my onvif camera sensors to HA

Hi,
I have a new PTZ camera and the motion sensor doesn’t export to HA , my first camera was worked good , I think that the new camera has a different protocol and the onvif component doesn’t know how to handle the events , this is the log file from the publish event that came from the camera , I think that something need to change in the parsers.py file


please help me to fix this, i have only one camera so i can replace the file by myself without merge to HA
(reply){
   CurrentTime = 2021-03-14 15:00:21
   TerminationTime = 2021-03-14 15:01:21
   NotificationMessage[] =
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/TamperDetector/Tamper"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyTamperDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "IsTamper"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/CellMotionDetector/Motion"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyMotionDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:VideoSource/MotionAlarm"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "Source"
                                 _Value = "V_SRC_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:Device/Trigger/DigitalInput"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "InputToken"
                                 _Value = "DIGIT_INPUT_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "LogicalState"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/TamperDetector/Tamper"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyTamperDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "IsTamper"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/CellMotionDetector/Motion"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyMotionDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:VideoSource/MotionAlarm"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "Source"
                                 _Value = "V_SRC_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:Device/Trigger/DigitalInput"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "InputToken"
                                 _Value = "DIGIT_INPUT_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "LogicalState"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/TamperDetector/Tamper"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyTamperDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "IsTamper"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/CellMotionDetector/Motion"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyMotionDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:VideoSource/MotionAlarm"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "Source"
                                 _Value = "V_SRC_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:Device/Trigger/DigitalInput"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "InputToken"
                                 _Value = "DIGIT_INPUT_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "LogicalState"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/TamperDetector/Tamper"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyTamperDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "IsTamper"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/CellMotionDetector/Motion"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyMotionDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:VideoSource/MotionAlarm"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "Source"
                                 _Value = "V_SRC_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:Device/Trigger/DigitalInput"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:21Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "InputToken"
                                 _Value = "DIGIT_INPUT_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "LogicalState"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/TamperDetector/Tamper"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:20Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyTamperDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "IsTamper"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:RuleEngine/CellMotionDetector/Motion"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:20Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem[] =
                              (SimpleItem){
                                 _Name = "VideoSource"
                                 _Value = "V_SRC_000"
                              },
                              (SimpleItem){
                                 _Name = "Rule"
                                 _Value = "MyMotionDetectorRule"
                              },
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:VideoSource/MotionAlarm"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:20Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "Source"
                                 _Value = "V_SRC_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "State"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
      (NotificationMessageHolderType){
         Topic =
            (Topic){
               value = "tns1:Device/Trigger/DigitalInput"
               _Dialect = "http://www.onvif.org/ver10/tev/topicExpression/Concre                                                                             teSet"
            }
         Message =
            (Message){
               Message =
                  (Message){
                     _UtcTime = "2021-03-14T13:00:20Z"
                     _PropertyOperation = "Initialized"
                     Source =
                        (Source){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "InputToken"
                                 _Value = "DIGIT_INPUT_000"
                              }
                        }
                     Data =
                        (Data){
                           SimpleItem =
                              (SimpleItem){
                                 _Name = "LogicalState"
                                 _Value = "true"
                              }
                        }
                  }
            }
      },
 }