Third-party cloud device huoman.litter_box.cs106 is skipped when cloud response lacks spec_type

Author: GriddzCreated Aug 29, 2026Updated Aug 29, 2026

Describe the Bug / 描述问题

A third-party cloud device, Huoman Smart Litter Box CS106 (huoman.litter_box.cs106), is visible and working normally in the Mi Home app, but it does not appear in the Xiaomi Home integration device-selection list in Home Assistant.

This device had been imported into Home Assistant successfully before.

With debug logging enabled, Xiaomi Home receives the device from the cloud, but logs missing the urn|model field and skips it.

The returned device data contains a valid model, but no spec_type / URN.

How to Reproduce / 复现步骤

  1. Add Huoman Smart Litter Box CS106 to Mi Home.
  2. Confirm it is visible and online in the Mi Home app.
  3. In Home Assistant, open: Settings → Devices & services → Xiaomi Home → Configure → Update devices imported from Mi Home app
  4. The CS106 device is not present in the device-selection list.
  5. Enable Xiaomi Home debug logging and refresh the imported-device list again.

Expected Behavior / 预期结果

Third-party cloud devices should still be importable when the cloud device-list response contains a valid model but omits spec_type, provided that the MIoT specification can be resolved from the model.

Reproduce Time / 问题复现的时间点

2026-08-29,13:56:57

Home Assistant Logs / 系统日志

2026-08-29 13:56:57.060 INFO (MainThread) [custom_components.xiaomi_home.miot.miot_cloud] missing the urn|model field, cloud, {'did': 'x.693.427826953.C5F40390:0541BBA3E', 'uid': 427826953, 'token': '', 'name': '智能猫砂盆CS106', 'pid': 14, 'mac': '', 'bssid': '', 'longitude': '0.00000000', 'latitude': '0.00000000', 'show_mode': 1, 'model': 'huoman.litter_box.cs106', 'permitLevel': 16, 'isOnline': True, 'extra': {'isSetPincode': 0, 'pincodeType': 0, 'isSubGroup': False, 'showGroupMember': False, 'split': {}, 'channel': [1]}, 'orderTime': 1772525384, 'freqFlag': True, 'hide_mode': 0, 'cnt': 14, 'comFlag': 385, 'remote_controllable': True, 'carPicInfo': ''}

Log Timezone / 日志时区

Shanghai

Home Assistant Core Version / Home Assistant Core 版本

2026.8.3

Home Assistant Operation System Version / Home Assistant Operation System 版本

18.2

Xiaomi Home Integration Version / 米家集成版本

V0.4.7

Additional Context / 其他说明

The device is currently visible and online in the Mi Home app. It was previously imported into Home Assistant successfully. Refreshing the Xiaomi Home imported-device list does not make it appear. Debug logging confirms that Xiaomi cloud is returning the CS106 device. Therefore, the device is being filtered/skipped after it is received by the integration. Account/device identifiers in the log above have been redacted intentionally.