:return: bytes

def to_binary(self):
        """
        :return: bytes
        """
        pre_checksum_data = self.__checksum_data()
        checksum = velbus.checksum(pre_checksum_data)
        return pre_checksum_data + checksum + bytes([velbus.END_BYTE])