Remove illuminance sensor for Xiaomi EU gateway (#41580)
Xiaomi EU gateway don't support the `XiaomiGatewayIlluminanceSensor`.
This commit is contained in:
parent
c31d9bfd3f
commit
73f52c829a
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ from miio.gateway import (
|
|||
GATEWAY_MODEL_AC_V1,
|
||||
GATEWAY_MODEL_AC_V2,
|
||||
GATEWAY_MODEL_AC_V3,
|
||||
GATEWAY_MODEL_EU,
|
||||
DeviceType,
|
||||
GatewayException,
|
||||
)
|
||||
|
@ -93,6 +94,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_EU,
|
||||
]:
|
||||
entities.append(
|
||||
XiaomiGatewayIlluminanceSensor(
|
||||
|
|
Loading…
Add table
Reference in a new issue