diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index a489360aac78..5cffaa0a5f94 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,11 +9,11 @@ from homeassistant.components.climate import ( PLATFORM_SCHEMA as CLIMATE_PLATFORM_SCHEMA, ClimateEntity, ClimateEntityFeature, + ClimateServiceArgument, HVACAction, HVACMode, ) from homeassistant.const import ( - ATTR_TEMPERATURE, CONF_HOST, CONF_PASSWORD, CONF_USERNAME, @@ -120,6 +120,6 @@ class ProliphixThermostat(ClimateEntity): @override def set_temperature(self, **kwargs: Any) -> None: """Set new target temperature.""" - if (temperature := kwargs.get(ATTR_TEMPERATURE)) is None: + if (temperature := kwargs.get(ClimateServiceArgument.TEMPERATURE)) is None: return self._pdp.setback = temperature