Skip to content

Commit

Permalink
hvac: add missing setpoint functions
Browse files Browse the repository at this point in the history
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  • Loading branch information
Noltari committed Oct 26, 2024
1 parent 81a69ea commit b70abf2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions aioairzone_cloud/hvac.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,16 +725,36 @@ def set_setpoint(self, setpoint: float) -> None:
if self.temp_set_vent_air is not None:
self.temp_set_vent_air = setpoint

def set_setpoint_auto(self, setpoint: float) -> None:
"""Set HVAC auto setpoint."""
if self.temp_set_auto_air is not None:
self.temp_set_auto_air = setpoint

def set_setpoint_cool(self, setpoint: float) -> None:
"""Set HVAC cool setpoint."""
if self.temp_set_cool_air is not None:
self.temp_set_cool_air = setpoint

def set_setpoint_dry(self, setpoint: float) -> None:
"""Set HVAC dry setpoint."""
if self.temp_set_dry_air is not None:
self.temp_set_dry_air = setpoint

def set_setpoint_heat(self, setpoint: float) -> None:
"""Set HVAC heat setpoint."""
if self.temp_set_hot_air is not None:
self.temp_set_hot_air = setpoint

def set_setpoint_stop(self, setpoint: float) -> None:
"""Set HVAC stop setpoint."""
if self.temp_set_stop_air is not None:
self.temp_set_stop_air = setpoint

def set_setpoint_vent(self, setpoint: float) -> None:
"""Set HVAC vent setpoint."""
if self.temp_set_vent_air is not None:
self.temp_set_vent_air = setpoint

def update_data(self, update: EntityUpdate) -> None:
"""Update HVAC device data."""
super().update_data(update)
Expand Down

0 comments on commit b70abf2

Please sign in to comment.