Implement current setpoint method in actron air integration (#169358)

This commit is contained in:
Kurt Chrisford
2026-04-29 18:33:18 +02:00
committed by GitHub
parent 9442790fba
commit a7a2387a2e
2 changed files with 3 additions and 3 deletions
@@ -147,7 +147,7 @@ class ActronSystemClimate(ActronAirAcEntity, ActronAirClimateEntity):
@property
def target_temperature(self) -> float:
"""Return the target temperature."""
return self._status.user_aircon_settings.temperature_setpoint_cool_c
return self._status.user_aircon_settings.current_setpoint
@actron_air_command
async def async_set_fan_mode(self, fan_mode: str) -> None:
@@ -239,7 +239,7 @@ class ActronZoneClimate(ActronAirZoneEntity, ActronAirClimateEntity):
@property
def target_temperature(self) -> float | None:
"""Return the target temperature."""
return self._zone.temperature_setpoint_cool_c
return self._zone.current_setpoint
@actron_air_command
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
+1 -1
View File
@@ -122,7 +122,7 @@ def mock_zone() -> MagicMock:
zone.zone_name = "Test Zone"
zone.title = "Living Room"
zone.live_temp_c = 22.0
zone.temperature_setpoint_cool_c = 24.0
zone.current_setpoint = 24.0
zone.is_active = True
zone.hvac_mode = "COOL"
zone.humidity = 50.0