Skip to content

Commit

Permalink
Fix Hydrojet/Airjet_V01 filter command
Browse files Browse the repository at this point in the history
  • Loading branch information
cdpuk committed Jan 7, 2024
1 parent 6b96b83 commit 26944a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bestway/bestway/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ async def hydrojet_spa_set_filter(self, device_id: str, filtering: bool) -> None
raise BestwayException(f"Device '{device_id}' is not recognised")

_LOGGER.debug("Setting filter mode to %s", "ON" if filtering else "OFF")
await self._do_control_post(device_id, filter_power=1 if filtering else 0)
await self._do_control_post(device_id, filter=1 if filtering else 0)
cached_state.timestamp = int(time())
cached_state.attrs["filter"] = filtering
if filtering:
Expand Down

0 comments on commit 26944a4

Please sign in to comment.