'Initialize the event.'

def __init__(self, axis_event):

    self.axis_event = axis_event
    self._event_class = convert(self.axis_event.topic, 'topic', 'class')
    self._name = '{}_{}_{}'.format(self.axis_event.device_name, convert(self.axis_event.topic, 'topic', 'type'), self.axis_event.id)
    self.axis_event.callback = self._update_callback
