Hi @syssi,
I have created the issue: xiaomi_aqara issue when device is/was connected to multiple gateways ¡ Issue #9571 ¡ home-assistant/core ¡ GitHub
I have upgraded today and made the adjustments to the config and the debug settings.
But I canât find the list you mentioned above.
here the first 10 minutes from my log, the device in question is switch.plug_158d00013e8964 and switch.plug_158d00013e8964_2
2017-09-25 20:36:31 DEBUG (SyncWorker_14) [homeassistant.components.xiaomi_aqara] Expecting 2 gateways
2017-09-25 20:36:31 INFO (SyncWorker_14) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 1)
2017-09-25 20:36:32 WARNING (MainThread) [homeassistant.helpers.entity] Update for media_player.living_room is already in progress
2017-09-25 20:36:36 DEBUG (SyncWorker_14) [homeassistant.components.xiaomi_aqara] Gateways discovered. Listening for broadcasts
2017-09-25 20:36:40 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
2017-09-25 20:36:40 WARNING (MainThread) [homeassistant.setup] Setup of remote is taking over 10 seconds.
2017-09-25 20:36:40 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
2017-09-25 20:36:41 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2017-09-25 20:36:52 DEBUG (SyncWorker_14) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Motion Sensor_158d00014dd511: off>: {'no_motion': '1200'}
2017-09-25 20:37:04 DEBUG (SyncWorker_15) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Motion Sensor_158d00014dd669: off>: {'no_motion': '1200'}
2017-09-25 20:37:06 DEBUG (SyncWorker_19) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Motion Sensor_158d00012dc3de: off>: {'no_motion': '1200'}
2017-09-25 20:37:19 WARNING (SyncWorker_0) [netdisco.ssdp] Error fetching description at http://192.168.1.250:1990/WFADevice.xml
2017-09-25 20:37:23 INFO (SyncWorker_16) [homeassistant.components.xiaomi_aqara] Discovered: {'host': '192.168.2.134', 'port': 54321, 'hostname': 'lumi-gateway-v3_miio47622663.local.', 'properties': {'epoch': '1', 'mac': 'f0b429cfbc12'}, 'mac_address': 'f0b429cfbc12'}
2017-09-25 20:37:23 INFO (SyncWorker_15) [homeassistant.components.xiaomi_aqara] Discovered: {'host': '192.168.2.133', 'port': 54321, 'hostname': 'lumi-gateway-v3_miio52049271.local.', 'properties': {'epoch': '1', 'mac': '286c0785b6f3'}, 'mac_address': '286c0785b6f3'}
2017-09-25 20:38:08 DEBUG (SyncWorker_3) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Plug_158d0001288e14: off>: {'voltage': 3600, 'status': 'off', 'inuse': '0', 'power_consumed': '174', 'load_power': '0.00'}
2017-09-25 20:40:12 DEBUG (SyncWorker_5) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Plug_158d00013f9d2a: on>: {'voltage': 3600, 'status': 'on', 'inuse': '1', 'power_consumed': '1820', 'load_power': '12.58'}
2017-09-25 20:40:46 DEBUG (SyncWorker_2) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Plug_158d00013e8964: on>: {'voltage': 3600, 'status': 'on', 'inuse': '1', 'power_consumed': '3362', 'load_power': '39.63'}
2017-09-25 20:42:31 DEBUG (SyncWorker_4) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Switch_158d000186dfe4: off>: {'voltage': 3062}
2017-09-25 20:43:39 DEBUG (SyncWorker_14) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Switch_158d0001870e25: off>: {'voltage': 3092}
2017-09-25 20:44:33 DEBUG (SyncWorker_13) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Illumination_f0b429cfbc12: 432.0>: {'rgb': 0, 'illumination': 741}
2017-09-25 20:44:33 DEBUG (SyncWorker_13) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Gateway Light_f0b429cfbc12: off>: {'rgb': 0, 'illumination': 741}
2017-09-25 20:45:34 DEBUG (SyncWorker_9) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Temperature_158d0001576d20: 23.85>: {'temperature': '2390'}
2017-09-25 20:45:34 DEBUG (SyncWorker_9) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Humidity_158d0001576d20: 33.94>: {'temperature': '2390'}
2017-09-25 20:45:34 DEBUG (SyncWorker_5) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Temperature_158d0001576d20: 23.9>: {'humidity': '4027'}
2017-09-25 20:45:34 DEBUG (SyncWorker_5) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Humidity_158d0001576d20: 33.94>: {'humidity': '4027'}
2017-09-25 20:45:34 DEBUG (SyncWorker_8) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Temperature_158d0001576d20: 23.9>: {'voltage': 3035, 'temperature': '2390', 'humidity': '4027'}
2017-09-25 20:45:34 DEBUG (SyncWorker_8) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Humidity_158d0001576d20: 40.27>: {'voltage': 3035, 'temperature': '2390', 'humidity': '4027'}
2017-09-25 20:46:01 DEBUG (SyncWorker_5) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Plug_158d0001288e14: off>: {'voltage': 3600, 'status': 'off', 'inuse': '0', 'power_consumed': '174', 'load_power': '0.00'}
2017-09-25 20:46:50 DEBUG (SyncWorker_19) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Motion Sensor_158d00014dd511: off>: {'no_motion': '1800'}
2017-09-25 20:47:02 DEBUG (SyncWorker_5) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Plug_158d00013e8964: on>: {'voltage': 3600, 'status': 'on', 'inuse': '1', 'power_consumed': '3362', 'load_power': '39.63'}
2017-09-25 20:47:02 DEBUG (SyncWorker_12) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Motion Sensor_158d00014dd669: off>: {'no_motion': '1800'}
2017-09-25 20:47:05 DEBUG (SyncWorker_6) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Motion Sensor_158d00012dc3de: off>: {'no_motion': '1800'}
2017-09-25 20:47:05 DEBUG (SyncWorker_1) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Temperature_158d00015763d7: 22.69>: {'temperature': '2212'}
2017-09-25 20:47:05 DEBUG (SyncWorker_1) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Humidity_158d00015763d7: 27.64>: {'temperature': '2212'}
2017-09-25 20:47:05 DEBUG (SyncWorker_17) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Temperature_158d00015763d7: 22.12>: {'humidity': '2831'}
2017-09-25 20:47:05 DEBUG (SyncWorker_17) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Humidity_158d00015763d7: 27.64>: {'humidity': '2831'}
2017-09-25 20:47:50 DEBUG (SyncWorker_9) [homeassistant.components.xiaomi_aqara] PUSH >> <Entity Plug_158d00013f9d2a: on>: {'voltage': 3600, 'status': 'on', 'inuse': '1', 'power_consumed': '1820', 'load_power': '12.58'}
Let me know please if I can help any further