mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
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
@ -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…
x
Reference in New Issue
Block a user