def METHOD_NAME(self, frame_type: FrameType, data: bytes) -> None:
    """Send message without waiting for a response."""
    if self.transport is None:
        raise exceptions.InvalidStateError("not connected")
    payload_length = len(data)
    if self._chacha and payload_length > 0:
        payload_length += AUTH_TAG_LENGTH
    header = bytes([frame_type.value]) + payload_length.to_bytes(3, byteorder="big")
    log_binary(
        _LOGGER,
        ">> Send data",
        FrameType=bytes([frame_type.value]),
        Data=data,
    )
    if self._chacha and len(data) > 0:
        data = self._chacha.encrypt(data, aad=header)
        log_binary(_LOGGER, ">> Send", Header=header, Encrypted=data)
    self.transport.write(header + data)