Xiaomi aqara duplicatie sensors

After restarting Homeassistant first i’ve got the aqara gateway and its sensors only once. after about 30 seconds there is a duplicate gateway and sensors.

23:04
Motion Sensor_158d000154a1a5 turned off
23:04
Motion Sensor_158d000154a1a5 turned off
23:04
Motion Sensor_158d000154a1a5 turned on
23:03
Motion Sensor_158d000154a1a5 turned on
23:03
Gateway Light_286c07887a5a turned off
23:03
Gateway Light_286c07887a5a turned on
23:03
Home Assistant started

Please change from xiaomi to xiaomi_aqara in your config.

That fixed the issue, thanx!