def handle_event(self, event):
if event.get('<STR_LIT>'):<EOL><INDENT>if event['<STR_LIT>'] == '<STR_LIT>':<EOL><INDENT>cmd = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>cmd = '<STR_LIT>'<EOL><DEDENT>task = self.send_command_ack(event['<STR_LIT:id>'], cmd)<EOL>self.loop.create_task(task)<EOL><DEDENT>
Handle incoming packet from rflink gateway.