From 9ee51786aca46be3ff6fe140429efc908a12928d Mon Sep 17 00:00:00 2001 From: "Andrey F. Kupreychik" Date: Sun, 29 Mar 2020 21:47:46 +0700 Subject: [PATCH] Fixed lint error --- homeassistant/components/xiaomi_miio/fan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/xiaomi_miio/fan.py b/homeassistant/components/xiaomi_miio/fan.py index baa434020ad141..bd5a0c72047761 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -53,8 +53,8 @@ SERVICE_SET_DRY_OFF, SERVICE_SET_DRY_ON, SERVICE_SET_EXTRA_FEATURES, - SERVICE_SET_FAVORITE_LEVEL, SERVICE_SET_FAN_LEVEL, + SERVICE_SET_FAVORITE_LEVEL, SERVICE_SET_LEARN_MODE_OFF, SERVICE_SET_LEARN_MODE_ON, SERVICE_SET_LED_BRIGHTNESS, @@ -945,6 +945,8 @@ async def async_reset_filter(self): class XiaomiAirPurifierMiot(XiaomiAirPurifier): + """Representation of a Xiaomi Air Purifier (MiOT protocol).""" + @property def speed(self): """Return the current speed."""