After converting to OH 4.0.1 I have these warnings in the log:
2023-08-15 12:38:00.223 [WARN ] [core.thing.internal.ThingManagerImpl] - Channel types or config descriptions for thing 'miio:gateway:1072B9E6' are missing in the respective registry for more than 120s. In case it does not happen immediately after an upgrade, it should be fixed in the binding.
2023-08-15 12:38:00.226 [WARN ] [core.thing.internal.ThingManagerImpl] - Failed to normalize configuration for thing 'miio:gateway:1072B9E6': {thing/channel=Type description miio:LUMI_GATEWAY_MIEU01_guard for miio:gateway:1072B9E6:guard not found, although we checked the presence before.}
This also happened (and was reported) in 4.0 milestone releases.