From ec37c08a6b1c8160c8c2f0c7b24a8072b043f672 Mon Sep 17 00:00:00 2001 From: Funtastix Date: Thu, 18 May 2023 23:57:32 +1000 Subject: [PATCH] fix user enabled zone for single set point systems --- pyrinnaitouch/unit_status.py | 6 +++--- setup.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyrinnaitouch/unit_status.py b/pyrinnaitouch/unit_status.py index ffd148f..3b9f04f 100644 --- a/pyrinnaitouch/unit_status.py +++ b/pyrinnaitouch/unit_status.py @@ -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)) diff --git a/setup.py b/setup.py index 5b0b6b2..2f52e5a 100644 --- a/setup.py +++ b/setup.py @@ -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",