Skip to content

Commit

Permalink
Air purifier: Set favorite level fixed. (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored and rytilahti committed Sep 4, 2017
1 parent 7d32628 commit e6c49f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mirobo/airpurifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit e6c49f9

Please sign in to comment.