Xiaomi Gateway - HA 0.113.1

I have recently installed HA 0.113.1 on Ubuntu 18. I didn’t want my old HA to stop working so I created a new copy instead of upgrading previous Ubuntu. Anyways my previous installed HA is 0.106.5. I took snapshot from previous one and uploaded to the new one. Everything is working except Xiaomi Gateway. In new discovered device notification, i entered the key (different from the one in configuration.yaml) following the instructions on the popup. The gateway seems to be added in Devices. Following is a screenshot of that but still the entities associated with the gateway are still disabled.