async def clear_alarm(self, code, partition_list):
_LOGGER.info("<STR_LIT>")<EOL>while len(code) < <NUM_LIT:16>:<EOL><INDENT>code += '<STR_LIT:F>'<EOL><DEDENT>code_bytes = bytearray.fromhex(code)<EOL>data = generate_query(b'<STR_LIT>' + code_bytes<EOL>+ partition_bytes(partition_list))<EOL>await self._send_data(data)<EOL>
Send command to clear the alarm.