From af38ff1ec1a2ba20e24a3e04c18e5e25b8771bc8 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Wed, 4 Aug 2021 11:23:21 +0200 Subject: [PATCH] Add xiaomi miio lumi.gateway.aqhm01 support (#53929) --- homeassistant/components/xiaomi_miio/sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index 476132aa8b2..852adfcc071 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -10,6 +10,7 @@ from miio.gateway.gateway import ( GATEWAY_MODEL_AC_V1, GATEWAY_MODEL_AC_V2, GATEWAY_MODEL_AC_V3, + GATEWAY_MODEL_AQARA, GATEWAY_MODEL_EU, GatewayException, ) @@ -197,6 +198,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities): GATEWAY_MODEL_AC_V1, GATEWAY_MODEL_AC_V2, GATEWAY_MODEL_AC_V3, + GATEWAY_MODEL_AQARA, GATEWAY_MODEL_EU, ]: description = SENSOR_TYPES[ATTR_ILLUMINANCE]