code: async def handle_adapter_event(self, adapter_id, conn_string, conn_id, name, event):
          
  
          if name == 'device_seen':
              self._track_device_seen(adapter_id, conn_string, event)
              event = self._translate_device_seen(adapter_id, conn_string, event)
  
              conn_string = self._translate_conn_string(adapter_id, conn_string)
          elif conn_id is not None and self._get_property(conn_id, 'translate'):
              conn_string = self._translate_conn_string(adapter_id, conn_string)
          else:
              conn_string = "adapter/%d/%s" % (adapter_id, conn_string)
  
          await self.notify_event(conn_string, name, event)
docs: Handle an event received from an adapter.