mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Add xiaomi miio lumi.gateway.aqhm01 support (#53929)
This commit is contained in:
@@ -10,6 +10,7 @@ from miio.gateway.gateway import (
|
|||||||
GATEWAY_MODEL_AC_V1,
|
GATEWAY_MODEL_AC_V1,
|
||||||
GATEWAY_MODEL_AC_V2,
|
GATEWAY_MODEL_AC_V2,
|
||||||
GATEWAY_MODEL_AC_V3,
|
GATEWAY_MODEL_AC_V3,
|
||||||
|
GATEWAY_MODEL_AQARA,
|
||||||
GATEWAY_MODEL_EU,
|
GATEWAY_MODEL_EU,
|
||||||
GatewayException,
|
GatewayException,
|
||||||
)
|
)
|
||||||
@@ -197,6 +198,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||||||
GATEWAY_MODEL_AC_V1,
|
GATEWAY_MODEL_AC_V1,
|
||||||
GATEWAY_MODEL_AC_V2,
|
GATEWAY_MODEL_AC_V2,
|
||||||
GATEWAY_MODEL_AC_V3,
|
GATEWAY_MODEL_AC_V3,
|
||||||
|
GATEWAY_MODEL_AQARA,
|
||||||
GATEWAY_MODEL_EU,
|
GATEWAY_MODEL_EU,
|
||||||
]:
|
]:
|
||||||
description = SENSOR_TYPES[ATTR_ILLUMINANCE]
|
description = SENSOR_TYPES[ATTR_ILLUMINANCE]
|
||||||
|
Reference in New Issue
Block a user