Skip to content

Commit

Permalink
Merge pull request #16 from funtastix/develop
Browse files Browse the repository at this point in the history
fix defect setting fan speed
  • Loading branch information
funtastix authored Mar 6, 2023
2 parents bf9e376 + 871935c commit 720e989
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyrinnaitouch/receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def receiver(self) -> None:
# send empty command ever so often
try:
self.send_empty_command()
except (ConnectionError, TimeoutError) as err:
except (ConnectionError, TimeoutError, OSError) as err:
_LOGGER.error(
"Couldn't send empty command (connection): (%s)", repr(err)
)
Expand Down
2 changes: 1 addition & 1 deletion pyrinnaitouch/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ async def set_unit_fanspeed(self, speed: int) -> bool:
if self.validate_command(cmd):
self.send_command(
cmd.format(
unit_id=self._status.unit_status.unit_id, peed=f"{speed:02d}"
unit_id=self._status.unit_status.unit_id, speed=f"{speed:02d}"
)
)
return True
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setup(
name="pyrinnaitouch",
packages=find_packages(exclude=["tests", "tests.*"]),
version="0.12.11",
version="0.12.12",
license="mit",
description="A python interface to the Rinnai Touch Wifi controller",
long_description=LONG_DESCRIPTION,
Expand Down

0 comments on commit 720e989

Please sign in to comment.