diff --git a/mirobo/airpurifier.py b/mirobo/airpurifier.py index d45bc0ca7..9423eef07 100644 --- a/mirobo/airpurifier.py +++ b/mirobo/airpurifier.py @@ -65,8 +65,8 @@ def set_favorite_level(self, level: int): """Set favorite level.""" # Set the favorite level used when the mode is `favorite`, - # should be between 0 and 16. - return self.send("favorite_level", [level]) # 0 ... 16 + # should be between 0 and 17. + return self.send("set_favorite_level", [level]) # 0 ... 17 def set_led_brightness(self, brightness: LedBrightness): """Set led brightness."""