Skip to content

Commit

Permalink
updated typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnodgrass committed Aug 18, 2022
1 parent 17648a0 commit afc0fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/lunos/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def preset_modes(self) -> list:

async def async_set_preset_mode(self, preset_mode: str) -> None:
"""Set the fan speed"""
if mode not in self.preset_modes:
if preset_mode not in self.preset_modes:
LOG.warning(f"LUNOS preset mode '{preset_mode}' is not valid: {self.preset_modes}")
return

Expand Down

0 comments on commit afc0fff

Please sign in to comment.