Xiaomi_aqara, discovery of new zigbee sub-devices?

After integrated into hass, xiaomi_aqara don’t have the ability to discover new zigbee sub-devices add by Mijia App. The only way available now is to remove the integration and add back again, but the automations and entity ids will change, that’s annoying.

There is a possibility to add a new service, i.e. named “discover_sub_devices”, while called, send this command via unicast to the UDP 9898 port of the gateway:


then the gateway will feedback the list of all sub-devices, and the new ones could be added to hass.

OR, more artful way, if there is status report/heart-beat of a new sub-device, xiaomi_aqara could add it automatically.