From fdcde06cd0c21839847f349d4a2a55a123625fef Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 2 Dec 2026 15:38:35 +0100 Subject: [PATCH] Use the action field enums in myneomitis (#196022) --- homeassistant/components/myneomitis/climate.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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