code: def data_to_binary(self):
          
          return bytes([
              COMMAND_CODE,
              self.channels_to_byte(self.relay_channels)]) + \
              struct.pack('>L', self.delay_time)[-3:]
docs: :return: bytes