added automatic setting 'config_type' based on 'device_type'