While trying to modify the hue bulb device type to display the color as the background I noticed a possible bug in the way device types handle user selected tiles
If you have a device type with only one tile available to be displayed on the dashboard like this:
And you change it to allow another tile like this
And you select that secondary tile, you have to remember to revert back to the normal tile if you change device types. Reverting back to the stock hue bulb device type left me with a question mark in the dashboard. So we need to keep in mind that if we add and remove selectable tiles to our device types, this could break our end user’s dashboards. A possible fix for this would be some sort of sanity check in the device type that prevents this behavior.