Add xiaomi miio lumi.gateway.aqhm01 support (#53929)

This commit is contained in:
starkillerOG 2021-08-04 11:23:21 +02:00 committed by GitHub
parent 8299d0a7c3
commit af38ff1ec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]