Skip to content

Commit

Permalink
Expose info for target temperature (#125)
Browse files Browse the repository at this point in the history
* Add get_target_temp functions for value and step.

* Add Chaffoteaux INOA S 24 in devices supported list.

---------

Co-authored-by: Roberto Montinaro <montinaror@ynap.world>
  • Loading branch information
robertomontinaro80 and Roberto Montinaro committed Jan 19, 2024
1 parent 613468c commit 57d0f82
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The following devices are currently supported:
- Ariston Genus One
- Ariston Nuos Split
- Ariston Thision S
- Chaffoteaux INOA S 24

## Installation
Use pip3 to install the latest version of this module.
Expand Down
12 changes: 12 additions & 0 deletions ariston/galevo_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,18 @@ def get_comfort_temp_value(self, zone: int) -> int:
return self._get_item_by_id(
ThermostatProperties.ZONE_COMFORT_TEMP, PropertyType.VALUE, zone
)

def get_target_temp_step(self, zone: int) -> int:
"""Get zone target temp step"""
return self._get_item_by_id(
ThermostatProperties.ZONE_DESIRED_TEMP, PropertyType.STEP, zone
)

def get_target_temp_value(self, zone: int) -> int:
"""Get zone target temp value"""
return self._get_item_by_id(
ThermostatProperties.ZONE_DESIRED_TEMP, PropertyType.VALUE, zone
)

def get_heating_flow_offset_value(self, zone: int) -> int:
"""Get zone heating flow offset value"""
Expand Down

0 comments on commit 57d0f82

Please sign in to comment.