Skip to content

Commit

Permalink
Merge pull request #17 from funtastix/develop
Browse files Browse the repository at this point in the history
fix user enabled zone for single set point systems
  • Loading branch information
funtastix authored May 18, 2023
2 parents 720e989 + ec37c08 commit 1c7ce7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyrinnaitouch/unit_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ def parse_zone_state(self, is_multi_set_point: bool, zoneid: str, zone: Any) ->
def parse_zone_operation(self, is_multi_set_point: bool, zoneid: str, zone: Any) -> None:
"""Parse Zone Settings"""
if zone and zoneid in self.zones.keys(): # pylint: disable=consider-iterating-dictionary
# this one is single set point and multi set point with fan only
if is_multi_set_point or self.circulation_fan_on:
# this one is single set point and multi set point with fan only
if not is_multi_set_point or self.circulation_fan_on:
self.zones[zoneid].user_enabled = y_n_to_bool(get_attribute(zone,USER_ENABLED,None))
# these ones are multi only
# these ones are multi only
if is_multi_set_point:
self.zones[zoneid].set_temp = get_attribute(zone,SET_POINT, 999)
self.zones[zoneid].set_advanced(get_attribute(zone,SCHEDULE_OVERRIDE, None))
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
setup(
name="pyrinnaitouch",
packages=find_packages(exclude=["tests", "tests.*"]),
version="0.12.12",
version="0.12.13",
license="mit",
description="A python interface to the Rinnai Touch Wifi controller",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="Funtastix",
url="https://github.com/funtastix/pyrinnaitouch",
download_url="https://github.com/funtastix/pyrinnaitouch/archive/refs/tags/v0.12.8.tar.gz",
download_url="https://github.com/funtastix/pyrinnaitouch/archive/refs/tags/v0.12.13.tar.gz",
keywords=[
"Rinnai Touch",
"Brivis",
Expand Down

0 comments on commit 1c7ce7a

Please sign in to comment.