From e8a701ffd0ca776c80be78b46b35110f0ef83770 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= <mail@dahoiv.net>
Date: Mon, 23 Oct 2017 14:55:36 +0200
Subject: [PATCH] update library for xiaomi_aqara, change from pyCrypto to
 cryptography (#10066)

---
 homeassistant/components/xiaomi_aqara.py | 2 +-
 requirements_all.txt                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/homeassistant/components/xiaomi_aqara.py b/homeassistant/components/xiaomi_aqara.py
index 37187324184..698b25adeeb 100644
--- a/homeassistant/components/xiaomi_aqara.py
+++ b/homeassistant/components/xiaomi_aqara.py
@@ -8,7 +8,7 @@ from homeassistant.components.discovery import SERVICE_XIAOMI_GW
 from homeassistant.const import (ATTR_BATTERY_LEVEL, EVENT_HOMEASSISTANT_STOP,
                                  CONF_MAC, CONF_HOST, CONF_PORT)
 
-REQUIREMENTS = ['PyXiaomiGateway==0.5.3']
+REQUIREMENTS = ['PyXiaomiGateway==0.6.0']
 
 ATTR_GW_MAC = 'gw_mac'
 ATTR_RINGTONE_ID = 'ringtone_id'
diff --git a/requirements_all.txt b/requirements_all.txt
index 814f0442292..7b522beda31 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -37,7 +37,7 @@ PyMVGLive==1.1.4
 PyMata==2.14
 
 # homeassistant.components.xiaomi_aqara
-PyXiaomiGateway==0.5.3
+PyXiaomiGateway==0.6.0
 
 # homeassistant.components.rpi_gpio
 # RPi.GPIO==0.6.1