Skip to content

Commit

Permalink
retry filter reset
Browse files Browse the repository at this point in the history
  • Loading branch information
hmn committed Nov 9, 2024
1 parent c27989e commit 608af56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/siku/api_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
MODE_PARTY: PRESET_MODE_PARTY,
}

EMPTY_VALUE = "00"

SPEED_MANUAL_MIN = 0
SPEED_MANUAL_MAX = 255

Expand Down Expand Up @@ -168,7 +170,7 @@ async def party(self) -> None:

async def reset_filter_alarm(self) -> None:
"""Reset filter alarm."""
cmd = f"{COMMAND_RESET_ALARMS}00".upper()
cmd = f"{COMMAND_RESET_ALARMS}{EMPTY_VALUE}{COMMAND_RESET_FILTER_TIMER}{EMPTY_VALUE}".upper()
await self._send_command(FUNC_WRITE, cmd)
return await self.status()

Expand Down

0 comments on commit 608af56

Please sign in to comment.