Skip to content

Commit

Permalink
Update fan.py (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfortis authored Dec 11, 2023
1 parent b0b4bc8 commit e49543c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/smartir/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async def async_set_direction(self, direction: str):

self.async_write_ha_state()

async def async_turn_on(self, percentage: int = None, **kwargs):
async def async_turn_on(self, percentage: int = None, preset_mode: str = None, **kwargs):
"""Turn on the fan."""
if percentage is None:
percentage = ordered_list_item_to_percentage(
Expand Down

0 comments on commit e49543c

Please sign in to comment.