Skip to content

Commit

Permalink
Remove illuminance sensor for Xiaomi EU gateway (home-assistant#41580)
Browse files Browse the repository at this point in the history
Xiaomi EU gateway don't support the `XiaomiGatewayIlluminanceSensor`.
  • Loading branch information
javicalle authored Oct 10, 2020
1 parent c31d9bf commit 73f52c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/xiaomi_miio/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
GATEWAY_MODEL_AC_V1,
GATEWAY_MODEL_AC_V2,
GATEWAY_MODEL_AC_V3,
GATEWAY_MODEL_EU,
DeviceType,
GatewayException,
)
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 73f52c8

Please sign in to comment.