diff --git a/homeassistant/components/advantage_air/climate.py b/homeassistant/components/advantage_air/climate.py index a4e0a1033ba..8244472f2b4 100644 --- a/homeassistant/components/advantage_air/climate.py +++ b/homeassistant/components/advantage_air/climate.py @@ -122,6 +122,13 @@ class AdvantageAirAC(AdvantageAirAcEntity, ClimateEntity): if self._ac.get(ADVANTAGE_AIR_AUTOFAN): self._attr_fan_modes += [FAN_AUTO] + @property + def current_temperature(self) -> float | None: + """Return the selected zones current temperature.""" + if self._myzone: + return self._myzone["measuredTemp"] + return None + @property def target_temperature(self) -> float | None: """Return the current target temperature.""" diff --git a/tests/components/advantage_air/test_climate.py b/tests/components/advantage_air/test_climate.py index b045092d78d..f5f12e48a40 100644 --- a/tests/components/advantage_air/test_climate.py +++ b/tests/components/advantage_air/test_climate.py @@ -73,7 +73,7 @@ async def test_climate_async_setup_entry( assert state.attributes.get(ATTR_MIN_TEMP) == 16 assert state.attributes.get(ATTR_MAX_TEMP) == 32 assert state.attributes.get(ATTR_TEMPERATURE) == 24 - assert state.attributes.get(ATTR_CURRENT_TEMPERATURE) is None + assert state.attributes.get(ATTR_CURRENT_TEMPERATURE) == 25 entry = registry.async_get(entity_id) assert entry