Skip to content

Commit

Permalink
Fixed setting manual speeds for AC2889 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Plevuus authored Apr 17, 2021
1 parent 51a892a commit 813d129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/philips_airpurifier_http/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async def async_set_percentage(self, percentage: int) -> None:
values = {PHILIPS_SPEED: speed}

if self._should_change_to_manual:
values[PHILIPS_MODE] = MODE_MANUAL
values[PHILIPS_MODE] = self._find_key(MODE_MAP, MODE_MANUAL)

await self._async_set_values(values)

Expand Down

0 comments on commit 813d129

Please sign in to comment.