diff --git a/homeassistant/components/myneomitis/climate.py b/homeassistant/components/myneomitis/climate.py index 759eba9891a8..db6769ad749e 100644 --- a/homeassistant/components/myneomitis/climate.py +++ b/homeassistant/components/myneomitis/climate.py @@ -14,9 +14,10 @@ from pyaxencoapi import ( from homeassistant.components.climate import ( ClimateEntity, ClimateEntityFeature, + ClimateServiceArgument, HVACMode, ) -from homeassistant.const import ATTR_TEMPERATURE, UnitOfTemperature +from homeassistant.const import UnitOfTemperature from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers import device_registry as dr @@ -206,7 +207,7 @@ class MyNeoClimate(ClimateEntity): @override async def async_set_temperature(self, **kwargs: Any) -> None: """Set the target temperature for the climate entity.""" - temperature = kwargs.get(ATTR_TEMPERATURE) + temperature = kwargs.get(ClimateServiceArgument.TEMPERATURE) if temperature is None: return