I have a bunch of temperature/humidity Xiaomi sensors which work fine out of the box (they are autodiscovered as sensors and provide correct readings).
I then got a Xiaomi Smart Water Sensor and in order to have it work, I had to enable the Xiaomi Aquara platform (otherwise it was not discovered - at least the water sensor part, the battery was):
xiaomi_aqara:
discovery_retry: 5
Now the water leak information is visible but at the same time I get in the startup logs a lot of warnings:
2019-03-03 10:00:51 INFO (SyncWorker_14) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 2)
2019-03-03 10:00:56 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2019-03-03 10:00:56 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform ue_smart_radio is taking over 10 seconds.
2019-03-03 10:00:56 INFO (SyncWorker_14) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2019-03-03 10:00:56 INFO (SyncWorker_14) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 3)
2019-03-03 10:00:59 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 12.4 seconds.
2019-03-03 10:00:59 INFO (MainThread) [homeassistant.loader] Loaded media_player.cast from homeassistant.components.media_player.cast
2019-03-03 10:00:59 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.cast
2019-03-03 10:01:01 INFO (SyncWorker_14) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2019-03-03 10:01:01 INFO (SyncWorker_14) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 4)
2019-03-03 10:01:06 INFO (SyncWorker_14) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2019-03-03 10:01:06 INFO (SyncWorker_14) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 5)
2019-03-03 10:01:11 INFO (SyncWorker_14) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2019-03-03 10:01:11 ERROR (SyncWorker_14) [homeassistant.components.xiaomi_aqara] No gateway discovered
2019-03-03 10:01:11 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 25.1 seconds.
2019-03-03 10:01:11 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Component failed to initialize.
What is this and why is there a gateway being searched for? (especially that the water sensors works great)