Home Assistant stuck

Hello

HA 0.87.1

xiaomi_aqara:
  interface: '10.20.30.9'
  gateways:
   - mac: xxx
     key: yyy
     host: 10.20.30.6

I want to integrate Aqara Gateway. Home Assist see the configuration but stuck at the followng:
INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.xiaomi_aqara entity: light.gateway_light_xxxyyyzzz

When i comment xiaomi aqara part it start without problem. Any one have idea why Home Assistant stuck?

Keep it simple, try this config.

xiaomi_aqara:
  gateways:
    - mac:
      key: YOUR_KEY_HERE

After do that i got the following error

2019-02-20 17:33:55 INFO (Thread-8) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 2)
2019-02-20 17:33:59 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2019-02-20 17:34:00 INFO (Thread-8) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2019-02-20 17:34:00 INFO (Thread-8) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 3)
2019-02-20 17:34:05 INFO (Thread-8) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2019-02-20 17:34:05 ERROR (Thread-8) [homeassistant.components.xiaomi_aqara] No gateway discovered
2019-02-20 17:34:05 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 15.9 seconds.
2019-02-20 17:34:05 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Component failed to initialize.

I already restarted raspbbery and gateway. It blocks all HA to start, it’s not working.

Have you enabled LAN access on the hub??

https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)#Adding_the_Xiaomi_Gateway_to_Domoticz

Yes. I upgraded HA to 0.88 and now is working.