make smartapp work with standard device types