diff --git a/homeassistant/components/switch/xiaomi_aqara.py b/homeassistant/components/switch/xiaomi_aqara.py index 2d2ba244ba0..d5502c0b6fa 100644 --- a/homeassistant/components/switch/xiaomi_aqara.py +++ b/homeassistant/components/switch/xiaomi_aqara.py @@ -137,7 +137,7 @@ class XiaomiGenericSwitch(XiaomiDevice, SwitchDevice): self._load_power = round(float(data[LOAD_POWER]), 2) value = data.get(self._data_key) - if value is None: + if value not in ['on', 'off']: return False state = value == 'on'