diff --git a/homeassistant/components/binary_sensor/xiaomi.py b/homeassistant/components/binary_sensor/xiaomi.py index 2f9d91655b6..fafdc098c5d 100644 --- a/homeassistant/components/binary_sensor/xiaomi.py +++ b/homeassistant/components/binary_sensor/xiaomi.py @@ -73,8 +73,8 @@ class XiaomiBinarySensor(XiaomiDevice, BinarySensorDevice): return self._should_poll @property - def state(self): - """Return the state of the sensor.""" + def is_on(self): + """Return true if sensor is on.""" return self._state @property