'Convert to a natve HA Event.'

def to_native(self):

    try:
        return Event(self.event_type, json.loads(self.event_data), EventOrigin(self.origin), _process_timestamp(self.time_fired))
    except ValueError:
        _LOGGER.exception('Error    converting    to    event:    %s', self)
        return None
