diff --git a/homeassistant/components/oem/climate.py b/homeassistant/components/oem/climate.py index 9e2dc5fdaba6..e8c09baea2e4 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -10,11 +10,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_NAME, CONF_PASSWORD, @@ -117,7 +117,7 @@ class ThermostatDevice(ClimateEntity): @override def set_temperature(self, **kwargs: Any) -> None: """Set the temperature.""" - temp = kwargs.get(ATTR_TEMPERATURE) + temp = kwargs.get(ClimateServiceArgument.TEMPERATURE) self.thermostat.setpoint = temp def update(self) -> None: