How to define main tile in new app

Thanks @Andremain. Currently, the tiles configuration in the DTH is not taken into consideration, that’s why you need to create a device configuration as Andreas said.
To do so, you need to set up the SmartThings CLI as follows:

  1. Download the latest release (Releases · SmartThingsCommunity/smartthings-cli · GitHub)
  2. Create a Personal Access Token, preferably selecting all the scopes (Samsung account)
  3. Depending on your PC OS, you need to create the “@smartthings/cli” folder at the location indicated on the configuration page (https://github.com/SmartThingsCommunity/smartthings-cli/blob/master/packages/cli/doc/configuration.md)
  4. Once you have the folder, you need to add there the “config.yaml” with your Personal Access Token created previously, it should have the correct indentation as the sample below:
default:
          token: xxxx-xxx-xxxx
  1. To verify the configuration, use the command smartthings devices. It should retrieve the devices list, if you receive an authentication error, check the config.yaml file or add the --token flag, for example, smartthings devices --token=PAT

After that, you can create your device configuration, the steps are:

  1. Generate the default configuration using the command:
smartthings presentation:device-config:generate dth-id --dth -j -o=devConfigPres.json
  1. Edit the devConfigPres.json file. There, you need to leave only the relativeHumidityMeasurementcapability in the Dashboard View.
  2. Create the device configuration with the command:
smartthings presentation:device-config:create -i devConfigPres.json
  1. Add the properties vid and mnmn in your DTH definition. Example:
definition (name: "dthName", vid:"xxxx-xxxx-xxxx", mnmn: "SmartThingsCommunity", //...) {
    //...    
}
  1. Then, save and publish it again. If changes are not effective, you need to re-add the device.

For more info, check this document or the post below (section " Generate / Post Device Configuration")