diff --git a/homeassistant/components/binary_sensor/xiaomi.py b/homeassistant/components/binary_sensor/xiaomi.py index 2f9d91655b68a7..fafdc098c5d1ac 100644 --- a/homeassistant/components/binary_sensor/xiaomi.py +++ b/homeassistant/components/binary_sensor/xiaomi.py @@ -73,8 +73,8 @@ def should_poll(self): 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