Skip to content

Commit

Permalink
Update fan.py
Browse files Browse the repository at this point in the history
fixed a syntax error I noticed with the updated FAN class
  • Loading branch information
scottyphillips authored Sep 20, 2023
1 parent 63f8739 commit dc6d202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/echonetlite/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def preset_mode(self):
async def async_set_percentage(self, percentage: int) -> None:
"""Set the speed percentage of the fan."""
await self._connector._instance.setFanSpeedPercent(percentage)
self._connector._update_data[ENL_FANSPEED_PERCENT] = preset_mode
self._connector._update_data[ENL_FANSPEED_PERCENT] = percentage

@property
def percantage(self):
Expand Down

0 comments on commit dc6d202

Please sign in to comment.