Help with DTH and 'tile' in new app

I got a question about my newly created DTH. The new app does not show the current temperature in it’s tile. This is my first DTH so I am already really happy it’s able to pull it’s data from that api… But a working tile would be great. Hope someone has any insight?

In the new app the tile is not updating, it’s checking status.
When I open the tile everything is fine, values for humidity and temp are all there just like refresh and history.

In the old app I can see two tiles and in the devices list I can see the current themperature.

How can I make the old app ‘tile’ work and display the current temperature? Any suggestions?

metadata {
    definition (name: "Quby Temperature and Humidity Sensor", namespace: "co.bbo/testing", author: "Bastiaan de Boer", mnmn: "smartthings", vid: "generic-humidity", ocfDeviceType: "oic.d.thermostat") {
        capability "Temperature Measurement"
        capability "Relative Humidity Measurement"
        capability "Sensor"
		capability "Polling"
		capability "Refresh"
        capability "Health Check"


	simulator {
		// TODO: define status and reply messages here

    // UI tile definitions
    tiles {
        valueTile("temperature", "device.temperature", width: 2, height: 2) {
            state("temperature", label:'${currentValue}', unit:"C",
                    [value: 12, color: "#153591"],
                    [value: 15, color: "#1e9cbb"],
                    [value: 18, color: "#90d2a7"],
                    [value: 20, color: "#44b621"],
                    [value: 22, color: "#f1d801"],
                    [value: 25, color: "#d04e00"],
                    [value: 30, color: "#bc2323"]
        valueTile("humidity", "device.humidity", width: 2, height: 2) {
        	state "humidity", label:'${currentValue}%', unit:"%", icon:"",
            		[value: 0, color: "#FFFCDF"],
            		[value: 4, color: "#FDF789"],
            		[value: 20, color: "#A5CF63"],
            		[value: 23, color: "#6FBD7F"],
            		[value: 56, color: "#4CA98C"],
            		[value: 59, color: "#0072BB"],
                	[value: 76, color: "#085396"]
        details(["temperature", "humidity", "refresh"])

def parse(String description) {
    def pair = description.split(":")
    createEvent(name: pair[0].trim(), value: pair[1].trim(), unit:"C")

def refresh() {
    log.debug "Quby.Display: Refresh"

def ping() {
	log.debug "Quby.Display: Ping"

def poll() {
    sendEvent(name: "healthStatus", value: "online")
    log.debug "Quby.Display: Poll"

def installed() {

def updated() {

def initialize() {
    log.debug "Quby.Display: Init"
    sendEvent(name: "healthStatus", value: "online")
    if (!device.currentState("temperature")) {
    sendEvent(name: "DeviceWatch-Enroll", value: [protocol: "cloud", scheme:"untracked"].encodeAsJson(), displayed: false)

def setTemperature(value_temp, value_hum) {
    sendEvent(name:"temperature", value: value_temp)
    sendEvent(name:"humidity", value: value_hum)

private getTemperature() {
    def headers = [:] 
	headers.put("Content-Type", "application/json")
    headers.put("Accpet", "application/json")
  	headers.put("Cache-Control", "no-cache")
	headers.put("X-CommonName", "qb-xxx")
	headers.put("X-Agreement-ID", "xxx")
    headers.put("Host", "")
    headers.put("Authorization", "Bearer xxx")
    def params = [
        uri: "",
        path: "/toon/v3/xxx/thermostat",
        headers: headers
    try {
        httpGet(params) { resp ->
       	    def ts_temp = ( as Integer
            def ts_hum = ( as Integer
            log.debug "Response: $"
            log.debug "Quby.thermostat.currentDisplayTemp: $ts_temp"
            log.debug "Quby.thermostat.currentHumidity: $ts_hum"
            state.temp = ts_temp
            state.hum = ts_hum
    } catch (e) {
        log.error "something went wrong: $e"
    Integer value_temp = state.temp
    Integer value_hum = state.hum
    log.debug "Value_temp: $value_temp"
    log.debug "Value_hum: $value_hum"
    return [value_temp, value_hum]

I see ‘Getting status’ rather than ‘Checking status’, and usually it means the new app doesn’t think there is a complete set of attributes. This can include the unit as well as the value, and seemingly even when there is supposedly a default value for the unit. So you could try explicitly adding the units to temperature and humidity when you send the events, or at least using the units once so they are set.

If that works you might find you see humidity rather than temperature in the tile. If so there might be a ‘vid:’ setting that you can use that favours temperature.