code: def handle_event(self, packet):
          
          if packet.get('command'):
              task = self.send_command_ack(packet['id'], packet['command'])
              self.loop.create_task(task)
docs: Handle incoming packet from rflink gateway.