"Tiles Missing" in Device Listing of modified Device Type

Hello,

I have been modifying a device type (Variation of Wemo Humidifier), for my Air Purifier.

I was able to get full functionality, except one oddity. At one point, the device after being added would show as “Air Purifier” was I had hoped… Now though, it just says “Tiles Missing”.

I have no clue what this references, to determine what I need to add or modify. I would imagine its in the device type, and I just removed a value its looking for as a reference to how it lists. But not sure.

Any thoughts?

Thanks!

I can, and if needed will. I was hoping to just get recommendations, because “Tiles Missing” sounds like a definition for a tile is wrong or missing. So, I was hoping for some direction, a document, or something that would lock me right into what I am (likely) missing.

I am still hacking through groovy, as I use to be a programmer. I suspect I just left some value/parameter out. And building this fully before providing any code out there, is a goal of mine.

Thanks for a quick reply.

Anyone seen this or know what could trigger this event?

Thanks.

definition (name: "Holmes Smart Air Purifier With WeMo", namespace: "dbarney", author: "Darryl Barney") {
	capability "Actuator"
	capability "Polling"
	capability "Refresh"
	capability "Switch"

    attribute "Mode", "number"
    attribute "Ionizer", "number"
	attribute "previousMode", "number"
    attribute "filterLife", "string"
    attribute "expiredFilterTime", "number"

    command "ModeAuto"
    command "ModeHigh"
    command "ModeMed"
    command "ModeLow"
    command "ModeOff"
    
    command "IonizerOn"
    command "IonizerOff"

	command "resetFilterLife"
}

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

tiles (scale: 2){
    standardTile("off", "device.Mode",label:"Off", width: 2, height: 2) {
      state "default", label: 'OFF', action: "ModeOff", icon:"st.Appliances.appliances11",backgroundColor:"#ffffff"
      state "1", label: 'ON', action: "ModeOff", icon:"st.Appliances.appliances11",backgroundColor:"#888888"
      state "2", label: 'ON', action: "ModeOff", icon:"st.Appliances.appliances11",backgroundColor:"#888888"
      state "3", label: 'ON', action: "ModeOff", icon:"st.Appliances.appliances11",backgroundColor:"#888888"
      state "4", label: 'ON', action: "ModeOff", icon:"st.Appliances.appliances11",backgroundColor:"#888888"
    }

    standardTile("low", "device.Mode",label:"Low") {
      state "default", label: 'LOW', action: "ModeLow", icon:"st.Appliances.appliances11",backgroundColor:"#ffffff"
      state "1", label: 'LOW', action: "ModeLow", icon:"st.Appliances.appliances11",backgroundColor:"#95B6F8"
    }

    standardTile("med", "device.Mode", label:"Med") {
      state "default", label: 'MED', action: "ModeMed", icon:"st.Appliances.appliances11",backgroundColor:"#ffffff"
      state "2", label: 'MED', action: "ModeMed", icon:"st.Appliances.appliances11",backgroundColor:"#75A0F7"
    }

    standardTile("high", "device.Mode", label:"High") {
      state "default", label: 'HIGH', action: "ModeHigh", icon:"st.Appliances.appliances11",backgroundColor:"#ffffff"
      state "3", label: 'HIGH', action: "ModeHigh", icon:"st.Appliances.appliances11",backgroundColor:"#548AF6"
    }
    standardTile("auto", "device.Mode",label:"Auto") {
      state "default", label: 'AUTO', action: "ModeAuto", icon:"st.Appliances.appliances11",backgroundColor:"#ffffff"
      state "4", label: 'AUTO', action: "ModeAuto", icon:"st.Appliances.appliances11",backgroundColor:"#3474F5"
    }
    standardTile("IonOff", "device.Ionizer", label:"Med") {
      state "default", label: 'Off', action: "IonizerOff", icon:"st.Appliances.appliances11",backgroundColor:"#ffffff"
      state "0", label: 'Off', action: "IonizerOff", icon:"st.Appliances.appliances11",backgroundColor:"#75A0F7"
    }

    standardTile("IonOn", "device.Ionizer", label:"On") {
      state "default", label: 'On', action: "IonizerOn", icon:"st.Appliances.appliances11",backgroundColor:"#ffffff"
      state "1", label: 'On', action: "IonizerOn", icon:"st.Appliances.appliances11",backgroundColor:"#548AF6"
    }
    

    valueTile("ModeLevel", "device.Mode", decoration: "flat") {
        state "level", label:'Mode Level: ${currentValue}'
    }
    
    controlTile("ModeSliderControl", "device.Mode", "slider", height: 1, width: 2) {
             state "level", action:"setMode"
    }
    controlTile("IonizerSliderControl", "device.Ionizer", "slider", height: 1, width: 2) {
             state "level", action:"setIonizer"
    }

	valueTile("filterLife", "device.filterLife", width: 2, height: 2, decoration: "flat") {
		state "filterLife", label:'Filter: ${currentValue}%'
	}
    
    valueTile("AirQuality", "device.AirQuality", width: 1, height: 1, decoration: "flat") {
		state "AirQuality", label:'Quality: ${currentValue}%'
	}
    
    valueTile("FilterPresent", "device.FilterPresent", width: 1, height: 1, decoration: "flat") {
		state "FilterPresent", label:'FilterPresent: ${currentValue}'
	}
    
    standardTile("resetFilterLife", "device.resetFilterLife", width:1, height: 1, decoration: "flat") {
		state "defaut", label:'Reset Filter Life', action:"resetFilterLife", icon:"st.Health & Wellness.health7"
	}

    standardTile("refresh", "device.refresh", width: 2, height: 2, inactiveLabel: false, decoration: "flat") {
        state "default", label:'', action:"refresh.refresh", icon:"st.secondary.refresh"
    }

    main "mainTile"
    details (["off", "low", "med", "high", "auto", "IonOff", "IonOn", "refresh", "filterLife", "resetFilterLife", "AirQuality"])
}

}

Gladly, and done. Once this works and is cleaned up, I will be posting it to the community.

Thanks!

There is no Tile named “Main Tile” … so, indeed, a tile named “Main Tile” is “missing” :wink:

Oye. I feel a tad dumb now.

Cant believe I overlooked that. Probably too much time staring at it. I actually didn’t realize that Main() was the definition used for the list.

Thank you @tgauchat and @anon36505037

1 Like