docs: def data_to_binary(self):
          """
          :return: bytes
          """
          return bytes([
              COMMAND_CODE,
              self.channels_to_byte(self.closed),
              self.channels_to_byte(self.opened),
              self.channels_to_byte(self.closed_long)
          ])