def __init__(self, event, device):
    'Initialize the Axis event.'
    super().__init__(device)
    self.event = event
    self._attr_name = f'{device.name} {event.TYPE} {event.id}'
    self._attr_unique_id = f'{device.unique_id}-{event.topic}-{event.id}'
    self._attr_device_class = event.CLASS
Initialize the Axis event.
def __init__(self, event, device):
    
    super().__init__(device)
    self.event = event
    self._attr_name = f'{device.name} {event.TYPE} {event.id}'
    self._attr_unique_id = f'{device.unique_id}-{event.topic}-{event.id}'
    self._attr_device_class = event.CLASS